X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/768d9ec8ca53f44275a6250c44bb69bfc2840e8c..61d457caae3e33efe8e0953f79c4a94e366b22d7:/include/wx/spinbutt.h?ds=sidebyside 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&);