X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9806a47c30050b2beeb772f69d4cef4a20dc8745..4457f32a774cbe17e9d91175eb8c84e303a60d03:/include/wx/spinctrl.h diff --git a/include/wx/spinctrl.h b/include/wx/spinctrl.h index 453175ebbb..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; } @@ -61,7 +64,7 @@ protected: #elif defined(__WXMOTIF__) #include "wx/generic/spinctlg.h" #elif defined(__WXMAC__) - #include "wx/generic/spinctlg.h" + #include "wx/mac/spinctrl.h" #else // Win16 || !Win #include "wx/generic/spinctlg.h" #endif // platform