]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
constructing a sentence dynamically is not i18n-friendly, fixed to use two separate...
[wxWidgets.git] / src / gtk1 / choice.cpp
index 1372a2398f68ad88e60674d6d74bea915134d057..9b03f45cfe92c6f9fce2d140be4d4f5ca378e2e6 100644 (file)
@@ -146,7 +146,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
     m_parent->DoAddChild( this );
 
     PostCreation(size);
-    SetBestSize(size); // need this too because this is a wxControlWithItems
+    SetInitialSize(size); // need this too because this is a wxControlWithItems
 
     return true;
 }