X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f401a117d699be9ac87c80f1a5732170cfecc1ab..222ed1d678dff2f5c3c4164321dd05e8f47de487:/include/wx/spinctrl.h?ds=sidebyside 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; }