]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
compilation fix: wxcrt.h, not crt.h
[wxWidgets.git] / src / gtk1 / choice.cpp
index e1c2a36b50c1f8e4bcf6499b53d0cb9272288d94..9b03f45cfe92c6f9fce2d140be4d4f5ca378e2e6 100644 (file)
 #if wxUSE_CHOICE
 
 #include "wx/choice.h"
-#include "wx/arrstr.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/arrstr.h"
+#endif
 
 #include "wx/gtk1/private.h"
 
@@ -143,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;
 }