]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinbutt.h
deprecated Initialize/CleanUpClasses
[wxWidgets.git] / include / wx / spinbutt.h
index bb25a5c61cf99dadde4a03df9766f4f96dce4b78..3624f51c3662187ec84cefff03e6db24227a0418 100644 (file)
@@ -68,6 +68,8 @@ protected:
     // the range value
     int   m_min;
     int   m_max;
+
+    DECLARE_NO_COPY_CLASS(wxSpinButtonBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -84,6 +86,8 @@ protected:
     #include "wx/gtk/spinbutt.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/spinbutt.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/spinbutt.h"
 #elif defined(__WXPM__)
     #include "wx/os2/spinbutt.h"
 #endif
@@ -105,7 +109,7 @@ public:
     void SetPosition(int pos) { m_commandInt = pos; }
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxSpinEvent)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxSpinEvent)
 };
 
 typedef void (wxEvtHandler::*wxSpinEventFunction)(wxSpinEvent&);