]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/spinctrl.h
font-encodings additions
[wxWidgets.git] / include / wx / mac / spinctrl.h
index 76f0dc3412c6696bd956a8868c08581211abe28e..9ffd5d1ee22b00c7df4f92174f3c97a3c90c7887 100755 (executable)
@@ -22,7 +22,7 @@
 
 #if wxUSE_SPINBTN 
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#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