]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/choicece.cpp
proper indentation
[wxWidgets.git] / src / msw / wince / choicece.cpp
index caef2a0388fe1e5f8209192a34b0100324ea9a5b..40f7dc81202abd4d219b1a642eb4c6d365f0d4cd 100644 (file)
 #include "wx/choice.h"
 
 #ifndef WX_PRECOMP
+    #include "wx/msw/wrapcctl.h" // include <commctrl.h> "properly"
 #endif
 
-// include <commctrl.h> "properly"
-#include "wx/msw/wrapcctl.h"
-
 #include "wx/spinbutt.h" // for wxSpinnerBestSize
 
 #if wxUSE_EXTENDED_RTTI
@@ -246,7 +244,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent,
         sizeText.y = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy);
     }
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     (void)::ShowWindow(GetBuddyHwnd(), SW_SHOW);