Don't send initial event in ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-03-15 16:09:57 +00:00
parent fab3f50eb7
commit 7660b85c31

View File

@ -406,9 +406,6 @@ bool wxSpinCtrl::Create(wxWindow *parent,
// Set the range in the native control
SetRange(min, max);
// Send the initial event
SendSpinUpdate(initial);
if ( !value.empty() )
{
SetValue(value);