]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/combobxc.cpp
add a source placeholder
[wxWidgets.git] / src / mac / carbon / combobxc.cpp
index 0925ed43e876755b16d9d65e353716faad332bc6..9a63c93e7094571e1fa775542edc53d37cdcff4d 100644 (file)
@@ -420,7 +420,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
     {
         m_choice->DoAppend( choices[ i ] );
     }
-    SetBestSize(csize);   // Needed because it is a wxControlWithItems
+    SetInitialSize(csize);   // Needed because it is a wxControlWithItems
 #endif
 
     return true;