]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
wxWinCE compile fixes
[wxWidgets.git] / src / msw / spinctrl.cpp
index 14bdda9ae059d05c6383ceaf83cd907167e1c246..80d15e665b62ac9770a796385deadfde525da2ab 100644 (file)
@@ -391,7 +391,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
         sizeText.y = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy);
     }
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     (void)::ShowWindow(GetBuddyHwnd(), SW_SHOW);