]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/spinctlg.h
bracket unused function
[wxWidgets.git] / include / wx / generic / spinctlg.h
index 9d8fe791c5ab1d025b504a0e57bed5bddf8538e8..aa44dc989af392454cfdb77c69a5ae5796f62857 100644 (file)
@@ -89,9 +89,15 @@ public:
 
     // forwarded events from children windows
     void OnSpinButton(wxSpinEvent& event);
-    void OnTextEnter(wxCommandEvent& event);
+    void OnTextLostFocus();
     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 and any attempts to explicitly set
+    // focus to it should give focus to its text constol part
+    virtual bool AcceptsFocus() const { return false; }
+    virtual void SetFocus();
+
     friend class wxSpinCtrlTextGeneric;
 
 protected: