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:
parent
72e610241a
commit
23ec96e3f5
@ -372,7 +372,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
|
||||
return false;
|
||||
}
|
||||
|
||||
SetRange(min, max);
|
||||
wxSpinButtonBase::SetRange(min, max);
|
||||
SetValue(initial);
|
||||
|
||||
m_oldValue = initial;
|
||||
|
Loading…
Reference in New Issue
Block a user