git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5294
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
protected:
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual wxSize DoGetBestSize() const;
+ virtual void SetFocus();
// the handler for wxSpinButton events
void OnSpinChange(wxSpinEvent& event);
return TRUE;
}
+void wxSpinCtrl::SetFocus()
+{
+ ::SetFocus((HWND)m_hwndBuddy);
+}
+
// ----------------------------------------------------------------------------
// event processing
// ----------------------------------------------------------------------------