#if wxUSE_SPINBTN
+#include "wx/containr.h"
+
class WXDLLEXPORT wxSpinButton;
class WXDLLEXPORT wxTextCtrl;
// 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; }
// 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;
wxSpinButton *m_btn;
private:
+ DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxSpinCtrl)
};