]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/spinctrl.h
applied patch 890642: wxRE_ADVANCED flag and docs
[wxWidgets.git] / include / wx / mac / spinctrl.h
index 75ef209fc0facd5ef67605f290b8b19f38a61bcc..9ffd5d1ee22b00c7df4f92174f3c97a3c90c7887 100755 (executable)
@@ -22,7 +22,7 @@
 
 #if wxUSE_SPINBTN 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "spinctlg.h"
 #endif
 
@@ -60,6 +60,9 @@ public:
                 int min = 0, int max = 100, int initial = 0,
                 const wxString& name = _T("wxSpinCtrl"));
 
+    // wxTextCtrl-like method
+    void SetSelection(long from, long to);
+
     virtual ~wxSpinCtrl();
 
     // operations