X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07f5b19a15a8664abad7b5176c0260aacbbbc174..2fce94e20c94073fda30327c7c835def4415361c:/include/wx/gtk/spinctrl.h?ds=sidebyside diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 14065fb96a..f39e5184e6 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#ifdef __GNUG__ +#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 ); @@ -59,8 +60,6 @@ public: virtual int GetMax() const; // implementation - // -------------- - void OnChar( wxKeyEvent &event ); bool IsOwnGtkWindow( GdkWindow *window );