]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
floating pane size now restores after perspective restore
[wxWidgets.git] / src / gtk / choice.cpp
index 737522f7ada89e092399945b7e55b1d5aa8c5a39..02b6c41b2a617de22f10821042790c5e44819638 100644 (file)
@@ -133,7 +133,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;
 }