]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/spinctlg.h
made wxNumberEntryDialog public; extracted it and wxGetNumberFromUser() in a separate...
[wxWidgets.git] / include / wx / generic / spinctlg.h
index 1175f102d03d5eeb41c158e25881c384a0a45310..2d4e3e400d6526c78f4a779b0087b85cd7002d7b 100644 (file)
@@ -20,9 +20,9 @@
 // without tons of #ifdefs.
 // ----------------------------------------------------------------------------
 
-#if wxUSE_SPINBTN 
+#if wxUSE_SPINBTN
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "spinctlg.h"
 #endif
 
@@ -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)
 };