/////////////////////////////////////////////////////////////////////////////
-// Name: wx/generic/spinctlg.h
+// Name: wx/osx/spinctrl.h
// Purpose: generic wxSpinCtrl class
// Author: Vadim Zeitlin
// Modified by:
// wxSpinCtrl is a combination of wxTextCtrl and wxSpinButton
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxSpinCtrl : public wxControl
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxNavigationEnabled<wxControl>
{
public:
wxSpinCtrl() { Init(); }
// 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;
int m_oldValue;
private:
- DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxSpinCtrl)
};