]> 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 e7c941b14af3f5e8a643dd5f8fd3cc027bcb7ebe..ebc21230680cf57e57a62e80791692440e9ff2ff 100755 (executable)
@@ -6,7 +6,7 @@
 // Created:     28.10.99
 // RCS-ID:      $Id$
 // Copyright:   (c) Vadim Zeitlin
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_MAC_SPINCTRL_H_
@@ -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)
 };