X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..aa4d3151d6218dd21cc9cd6e77ddc0181aa3414c:/include/wx/gtk/spinctrl.h diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 5f967589fd..f39e5184e6 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -51,6 +51,7 @@ public: const wxString& name = _T("wxSpinCtrl")); void SetValue(const wxString& text); + void SetSelection(long from, long to); virtual int GetValue() const; virtual void SetValue( int value );