X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b44d69bae33d6701976c741198b91591658c5b11..67b81440f079f88e6202a199fd5763af73bbac0f:/include/wx/msw/spinctrl.h diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index 746cf4d707..9a160ff7aa 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -65,6 +65,8 @@ public: 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;