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; }
#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