void wxControl::Init()
{
m_indexAccel = -1;
-
- m_inputHandler = (wxInputHandler *)NULL;
}
bool wxControl::Create(wxWindow *parent,
}
void wxControl::SetLabel(const wxString& label)
+{
+ // save original label
+ wxControlBase::SetLabel(label);
+
+ UnivDoSetLabel(label);
+}
+
+void wxControl::UnivDoSetLabel(const wxString& label)
{
wxString labelOld = m_label;
m_indexAccel = FindAccelIndex(label, &m_label);
}
}
-wxString wxControl::GetLabel() const
-{
- return m_label;
-}
-
#endif // wxUSE_CONTROLS