]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
Support encodings in wxGTK_CONV_BACK() in the same way as we do it in
[wxWidgets.git] / 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(),