]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/spinbutt.h
Some corrections
[wxWidgets.git] / include / wx / msw / spinbutt.h
index 2828753d570a92c53f410c7c96ec2b8b066d0e32..e7c54bdb3f763696e6909dda3eefc1e965761591 100644 (file)
@@ -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;