]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/spinctrl.h
Made toolbars sticky, i.e. you need to drag them
[wxWidgets.git] / include / wx / mac / carbon / spinctrl.h
index 384e2b1d7a3d331faee12756a08e6cd330759b72..ebc21230680cf57e57a62e80791692440e9ff2ff 100755 (executable)
@@ -22,6 +22,8 @@
 
 #if wxUSE_SPINBTN 
 
+#include "wx/containr.h"
+
 class WXDLLEXPORT wxSpinButton;
 class WXDLLEXPORT wxTextCtrl;
 
@@ -76,7 +78,6 @@ public:
     // forward these functions to all subcontrols
     virtual bool Enable(bool enable = TRUE);
     virtual bool Show(bool show = TRUE);
-    virtual void SetFocus();
 
     // get the subcontrols
     wxTextCtrl *GetText() const { return m_text; }
@@ -90,6 +91,8 @@ public:
     // number is out of range
     bool GetTextValue(int *val) const;
 
+    WX_DECLARE_CONTROL_CONTAINER();
+
 protected:
     // override the base class virtuals involved into geometry calculations
     virtual wxSize DoGetBestSize() const;
@@ -104,6 +107,7 @@ private:
     wxSpinButton *m_btn;
     
 private:
+    DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxSpinCtrl)
 };