]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinctrl.h
Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
[wxWidgets.git] / include / wx / spinctrl.h
index 6bc0d71f5fe46ef7237c57fec12628bdbb0915b2..17b013086a6df6e6283b8ed28c60c0488dc4c907 100644 (file)
@@ -37,6 +37,9 @@ public:
     virtual void SetValue(int val) = 0;
     virtual void SetRange(int minVal, int maxVal) = 0;
 
+    // as the wxTextCtrl method
+    virtual void SetSelection(long from, long to) = 0;
+
 protected:
     // initialize m_min/max with the default values
     void Init() { m_min = 0; m_max = 100; }
@@ -58,8 +61,10 @@ protected:
     #include "wx/os2/spinctrl.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/spinctrl.h"
-#elif defined(__WXMAC__)
+#elif defined(__WXMOTIF__)
     #include "wx/generic/spinctlg.h"
+#elif defined(__WXMAC__)
+    #include "wx/mac/spinctrl.h"
 #else // Win16 || !Win
     #include "wx/generic/spinctlg.h"
 #endif // platform