]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / msw / spinbutt.cpp
index b4b9cfb1e76fc6d8852c3d16c4c7b3b5e7ca0d91..4b3f25570c4cfcf3c48306b3d07c0a19fa2cd7b1 100644 (file)
@@ -195,7 +195,7 @@ bool wxSpinButton::Create(wxWindow *parent,
 
     SubclassWin(m_hWnd);
 
 
     SubclassWin(m_hWnd);
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }
 
     return true;
 }
@@ -257,7 +257,7 @@ void wxSpinButton::SetValue(int val)
 }
 
 void wxSpinButton::NormalizeValue()
 }
 
 void wxSpinButton::NormalizeValue()
-{ 
+{
     SetValue( GetValue() );
 }
 
     SetValue( GetValue() );
 }