]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed unnecessary assignment
authorJulian Smart <julian@anthemion.co.uk>
Wed, 7 Feb 2007 12:21:42 +0000 (12:21 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 7 Feb 2007 12:21:42 +0000 (12:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/spinctrl.cpp

index f66f6bfbcf89e1863ebed71ce33cf95d73728a41..e10de2b8936d3a5608906724fd77ec9f8782e574 100644 (file)
@@ -374,8 +374,6 @@ bool wxSpinCtrl::Create(wxWindow *parent,
 
     wxSpinButtonBase::SetRange(min, max);
 
-    m_oldValue = initial;
-
     // subclass the text ctrl to be able to intercept some events
     wxSetWindowUserData(GetBuddyHwnd(), this);
     m_wndProcBuddy = (WXFARPROC)wxSetWindowProc(GetBuddyHwnd(),