From: Guillermo Rodriguez Garcia Date: Sat, 8 Jan 2000 16:10:31 +0000 (+0000) Subject: ops. SetFocus should be public X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b44d69bae33d6701976c741198b91591658c5b11?ds=sidebyside ops. SetFocus should be public git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index 4a5d3d56aa..746cf4d707 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -58,8 +58,9 @@ public: // ------------------------------- virtual void SetValue(int val) { wxSpinButton::SetValue(val); } - virtual int GetValue() const; + virtual int GetValue() const; virtual bool SetFont(const wxFont &font); + virtual void SetFocus(); virtual bool Enable(bool enable = TRUE); virtual bool Show(bool show = TRUE); @@ -67,7 +68,6 @@ public: 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);