]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
removing additional offset - why did this ever work ?
[wxWidgets.git] / src / msw / choice.cpp
index 67feff05126205e314c375f56253e2e5c324789c..8fc25f779d823919438ef4ced84151d85580137b 100644 (file)
@@ -153,7 +153,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent,
     }
 
     // and now we may finally size the control properly (if needed)
     }
 
     // and now we may finally size the control properly (if needed)
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }
 
     return true;
 }