X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9e4acc5197ac49259b9a39468c5931b4459d87f..cafc76a4bbbcb59f1c48d9c8f592c671238ffb51:/include/wx/spinbutt.h?ds=sidebyside diff --git a/include/wx/spinbutt.h b/include/wx/spinbutt.h index bb25a5c61c..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) }; // ---------------------------------------------------------------------------- @@ -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&);