X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1de43645160fd0686ec025112362d56da2ad77c2..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/mac/carbon/spinctrl.h diff --git a/include/wx/mac/carbon/spinctrl.h b/include/wx/mac/carbon/spinctrl.h index 5970091073..5c513561a6 100755 --- a/include/wx/mac/carbon/spinctrl.h +++ b/include/wx/mac/carbon/spinctrl.h @@ -22,8 +22,12 @@ #if wxUSE_SPINBTN +#include "wx/containr.h" + class WXDLLEXPORT wxSpinButton; class WXDLLEXPORT wxTextCtrl; +class WXDLLEXPORT wxSpinCtrlText; +class WXDLLEXPORT wxSpinCtrlButton; // ---------------------------------------------------------------------------- // wxSpinCtrl is a combination of wxTextCtrl and wxSpinButton @@ -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)