Don't send initial event in ctor

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

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);