]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/choicece.cpp
derive wxConfig classes from wxObject and add wxRTTI macros to them (patch 1587607)
[wxWidgets.git] / src / msw / wince / choicece.cpp
index 5540dcca03f571e1f4a21ad078d7533ccc646a24..40f7dc81202abd4d219b1a642eb4c6d365f0d4cd 100644 (file)
@@ -244,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);