X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3aee5c154ce130ab9858453c9ae28f944565695..c3008402f72bf26f81fb54d9737fa06d9ca0c3c8:/include/wx/mac/carbon/spinctrl.h?ds=sidebyside diff --git a/include/wx/mac/carbon/spinctrl.h b/include/wx/mac/carbon/spinctrl.h index e29c806d72..ebc2123068 100755 --- a/include/wx/mac/carbon/spinctrl.h +++ b/include/wx/mac/carbon/spinctrl.h @@ -22,9 +22,7 @@ #if wxUSE_SPINBTN -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "spinctlg.h" -#endif +#include "wx/containr.h" class WXDLLEXPORT wxSpinButton; class WXDLLEXPORT wxTextCtrl; @@ -80,7 +78,6 @@ public: // forward these functions to all subcontrols virtual bool Enable(bool enable = TRUE); virtual bool Show(bool show = TRUE); - virtual void SetFocus(); // get the subcontrols wxTextCtrl *GetText() const { return m_text; } @@ -94,6 +91,8 @@ public: // number is out of range bool GetTextValue(int *val) const; + WX_DECLARE_CONTROL_CONTAINER(); + protected: // override the base class virtuals involved into geometry calculations virtual wxSize DoGetBestSize() const; @@ -108,6 +107,7 @@ private: wxSpinButton *m_btn; private: + DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxSpinCtrl) };