X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..31eefb998d894e3b566e13714fa53186101829a1:/include/wx/generic/spinctlg.h?ds=sidebyside diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index 1175f102d0..d6d9a4043b 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -20,7 +20,7 @@ // without tons of #ifdefs. // ---------------------------------------------------------------------------- -#if wxUSE_SPINBTN +#if wxUSE_SPINBTN #if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "spinctlg.h" @@ -66,6 +66,7 @@ public: void SetValue(int val); void SetValue(const wxString& text); void SetRange(int min, int max); + void SetSelection(long from, long to); // accessors int GetValue() const; @@ -102,7 +103,7 @@ private: // the subcontrols wxTextCtrl *m_text; wxSpinButton *m_btn; - + private: DECLARE_DYNAMIC_CLASS(wxSpinCtrl) };