]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/combog.cpp
fix the bug with renaming groups leaving wxFileConfig in inconsistent state (closes...
[wxWidgets.git] / src / generic / combog.cpp
index 0987c8a8567a67187ae027cc96455ea8632bdaaa..082612d098856480d0f69a5dcaebdcc48fd4fff0 100644 (file)
@@ -187,8 +187,8 @@ bool wxGenericComboCtrl::Create(wxWindow *parent,
     // Set background
     SetBackgroundStyle( wxBG_STYLE_CUSTOM ); // for double-buffering
 
-    // SetBestSize should be called last
-    SetBestSize(size);
+    // SetInitialSize should be called last
+    SetInitialSize(size);
 
     return true;
 }