X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f401a117d699be9ac87c80f1a5732170cfecc1ab..24c7767fc8e093be0f0790c78daeb12b4e58579b:/include/wx/spinctrl.h diff --git a/include/wx/spinctrl.h b/include/wx/spinctrl.h index a40cc6c3c4..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; }