X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/768d9ec8ca53f44275a6250c44bb69bfc2840e8c..85b657c79d32e5876ce5b8ae1e7b9519fee18247:/include/wx/spinbutt.h diff --git a/include/wx/spinbutt.h b/include/wx/spinbutt.h index 2db0d6880d..3624f51c36 100644 --- a/include/wx/spinbutt.h +++ b/include/wx/spinbutt.h @@ -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&);