]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/spinctrl.h
Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
[wxWidgets.git] / include / wx / gtk1 / spinctrl.h
index f3af16601a22e15b35289125053d57c04a1b1939..f39e5184e632f7d2c3f69c29651e5e161d23d1dc 100644 (file)
@@ -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 );