X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f68586e51b20dccee3fd5645aeaca7cc8ff298c2..65e4e78efb62104d4d0f9ac32e3fff24f9c14b6e:/include/wx/msw/spinbutt.h diff --git a/include/wx/msw/spinbutt.h b/include/wx/msw/spinbutt.h index 2828753d57..e7c54bdb3f 100644 --- a/include/wx/msw/spinbutt.h +++ b/include/wx/msw/spinbutt.h @@ -58,6 +58,9 @@ public: virtual bool MSWOnScroll(int orientation, WXWORD wParam, WXWORD pos, WXHWND control); + // a wxSpinButton can't do anything useful with focus, only wxSpinCtrl can + virtual bool AcceptsFocus() const { return FALSE; } + protected: virtual wxSize DoGetBestSize() const;