X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..6c33b24c53c51b4053f898524a920eafba155ed0:/include/wx/spinctrl.h diff --git a/include/wx/spinctrl.h b/include/wx/spinctrl.h index b73167b72b..17b013086a 100644 --- a/include/wx/spinctrl.h +++ b/include/wx/spinctrl.h @@ -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,6 +61,10 @@ protected: #include "wx/os2/spinctrl.h" #elif defined(__WXGTK__) #include "wx/gtk/spinctrl.h" +#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