From: Julian Smart Date: Mon, 5 Feb 2007 14:40:55 +0000 (+0000) Subject: Avoid triggering false update event when setting the initial range X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23ec96e3f5ac1cc3991828cc550d93700495337b Avoid triggering false update event when setting the initial range git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index 6651f614ac..8f693d0576 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -372,7 +372,7 @@ bool wxSpinCtrl::Create(wxWindow *parent, return false; } - SetRange(min, max); + wxSpinButtonBase::SetRange(min, max); SetValue(initial); m_oldValue = initial;