X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..32c19f25fce3a38f9e4cf1497761fd7364d7bc62:/include/wx/os2/spinctrl.h diff --git a/include/wx/os2/spinctrl.h b/include/wx/os2/spinctrl.h index 4c39c123c7..5a0983870b 100644 --- a/include/wx/os2/spinctrl.h +++ b/include/wx/os2/spinctrl.h @@ -72,6 +72,9 @@ public: virtual bool SetFont(const wxFont &rFont); virtual void SetFocus(void); inline virtual void SetValue(int nVal) { wxSpinButton::SetValue(nVal); } + void SetSelection( long lFrom + ,long lTo + ); virtual bool Show(bool bShow = TRUE); @@ -112,6 +115,7 @@ protected: // void OnSpinChange(wxSpinEvent& rEvent); void OnChar(wxKeyEvent& rEvent); + void OnSetFocus(wxFocusEvent& rEvent); WXHWND m_hWndBuddy; static wxArraySpins m_svAllSpins;