]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/spinctrl.h
Applied patch [ 882493 ] Added XRC support for wxStatusBar
[wxWidgets.git] / include / wx / gtk1 / spinctrl.h
index 5f967589fd23e74d2103aab449fecccf3eb50160..f39e5184e632f7d2c3f69c29651e5e161d23d1dc 100644 (file)
@@ -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 );