]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinbutt.h
compilation fixes
[wxWidgets.git] / include / wx / spinbutt.h
index 2db0d6880df7ae92352a2cec45232be8cfd8b940..3624f51c3662187ec84cefff03e6db24227a0418 100644 (file)
@@ -68,6 +68,8 @@ protected:
     // the range value
     int   m_min;
     int   m_max;
+
+    DECLARE_NO_COPY_CLASS(wxSpinButtonBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -107,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&);