From 6c4293efcc4daa33e6fa0283071347d6d374777a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 15 Mar 2007 16:09:57 +0000 Subject: [PATCH] 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 --- src/msw/spinctrl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index e10de2b893..014e50d81c 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -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);