git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31197
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// forward these functions to all subcontrols
virtual bool Enable(bool enable = TRUE);
virtual bool Show(bool show = TRUE);
+ virtual void SetFocus();
// get the subcontrols
wxTextCtrl *GetText() const { return m_text; }
return TRUE;
}
+void wxSpinCtrl::SetFocus()
+{
+ if ( m_text != NULL) {
+ m_text->SetFocus();
+ }
+}
+
// ----------------------------------------------------------------------------
// value and range access
// ----------------------------------------------------------------------------