X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c81b43195fca7768fe5b7db1a93b51b41b8f28a..2e992e06a71d90f1df597441af36f69ef390089a:/include/wx/msw/spinctrl.h diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index b58f818c74..edcb026f76 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -65,7 +65,7 @@ public: virtual ~wxSpinCtrl(); - virtual void SetValue(int val) { wxSpinButton::SetValue(val); } + virtual void SetValue(int val); virtual int GetValue() const; virtual bool SetFont(const wxFont &font); virtual void SetFocus(); @@ -104,6 +104,9 @@ protected: void OnSetFocus(wxFocusEvent& event); void OnKillFocus(wxFocusEvent& event); + int m_oldValue; + virtual void NormalizeValue(); + // the data for the "buddy" text ctrl WXHWND m_hwndBuddy; WXFARPROC m_wndProcBuddy;