]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/spinctrl.h
fixes to menu stock items support (patch 1547639)
[wxWidgets.git] / include / wx / mac / carbon / spinctrl.h
index 9ffd5d1ee22b00c7df4f92174f3c97a3c90c7887..ebc21230680cf57e57a62e80791692440e9ff2ff 100755 (executable)
@@ -22,9 +22,7 @@
 
 #if wxUSE_SPINBTN 
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "spinctlg.h"
-#endif
+#include "wx/containr.h"
 
 class WXDLLEXPORT wxSpinButton;
 class WXDLLEXPORT wxTextCtrl;
@@ -93,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;
@@ -107,6 +107,7 @@ private:
     wxSpinButton *m_btn;
     
 private:
+    DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxSpinCtrl)
 };