X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1de43645160fd0686ec025112362d56da2ad77c2..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/mac/carbon/spinctrl.h diff --git a/include/wx/mac/carbon/spinctrl.h b/include/wx/mac/carbon/spinctrl.h old mode 100755 new mode 100644 index 5970091073..38fd7a9bff --- a/include/wx/mac/carbon/spinctrl.h +++ b/include/wx/mac/carbon/spinctrl.h @@ -22,14 +22,18 @@ #if wxUSE_SPINBTN -class WXDLLEXPORT wxSpinButton; -class WXDLLEXPORT wxTextCtrl; +#include "wx/containr.h" + +class WXDLLIMPEXP_FWD_CORE wxSpinButton; +class WXDLLIMPEXP_FWD_CORE wxTextCtrl; +class WXDLLIMPEXP_FWD_CORE wxSpinCtrlText; +class WXDLLIMPEXP_FWD_CORE wxSpinCtrlButton; // ---------------------------------------------------------------------------- // wxSpinCtrl is a combination of wxTextCtrl and wxSpinButton // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxSpinCtrl : public wxControl +class WXDLLIMPEXP_CORE wxSpinCtrl : public wxControl { public: wxSpinCtrl() { Init(); } @@ -104,6 +108,10 @@ private: wxTextCtrl *m_text; wxSpinButton *m_btn; + friend class wxSpinCtrlText; + friend class wxSpinCtrlButton; + + int m_oldValue; private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxSpinCtrl) @@ -117,7 +125,7 @@ private: #include "wx/textctrl.h" -class WXDLLEXPORT wxSpinCtrl : public wxTextCtrl +class WXDLLIMPEXP_CORE wxSpinCtrl : public wxTextCtrl { public: wxSpinCtrl() { Init(); }