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
This commit is contained in:
Julian Smart 2007-02-05 14:40:55 +00:00
parent 72e610241a
commit 23ec96e3f5

View File

@ -372,7 +372,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
return false;
}
SetRange(min, max);
wxSpinButtonBase::SetRange(min, max);
SetValue(initial);
m_oldValue = initial;