]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/spinctlg.h
fixing copy paste error
[wxWidgets.git] / include / wx / generic / spinctlg.h
index 9d8fe791c5ab1d025b504a0e57bed5bddf8538e8..4360c9395c382d9627e2c258006d2be04e6d9dc3 100644 (file)
@@ -92,6 +92,10 @@ public:
     void OnTextEnter(wxCommandEvent& event);
     void OnTextChar(wxKeyEvent& event);
 
+    // this window itself is used only as a container for its sub windows so it
+    // shouldn't accept the focus at all
+    virtual bool AcceptsFocus() const { return false; }
+
     friend class wxSpinCtrlTextGeneric;
 
 protected: