Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2013-07-31 10:47:03 +00:00
parent fea77d88b8
commit cc4d5638c6

View File

@ -230,7 +230,7 @@ bool wxSpinCtrlGenericBase::Create(wxWindow *parent,
if ( DoTextToValue(value, &d) )
{
m_value = d;
m_textCtrl->SetValue(DoValueToText(m_value));
m_textCtrl->ChangeValue(DoValueToText(m_value));
}
}