X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/882a8f40e259edccf7ab628d8bddf08220fb3e2c..2288191b9cef62b63166ef15e928ee5960fe0c53:/include/wx/msw/spinctrl.h diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index 37f8e1c2e4..9a160ff7aa 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -58,12 +58,15 @@ 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); + virtual bool AcceptsFocus() const { return TRUE; } + protected: virtual void DoMoveWindow(int x, int y, int width, int height); virtual wxSize DoGetBestSize() const;