]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
fix for wxComboBox::GetSelection from inside event handler
[wxWidgets.git] / src / gtk / choice.cpp
index dda0c63e8ffca99b76af48a0944e6b45e580f5d5..0106c68dff70c630ee3f930e606785098ef8c54c 100644 (file)
 #pragma implementation "choice.h"
 #endif
 
-#include "wx/choice.h"
+#include "wx/defs.h"
 
 #if wxUSE_CHOICE
 
+#include "wx/choice.h"
+
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
@@ -110,8 +112,6 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
 
     PostCreation();
 
-    ApplyWidgetStyle();
-
     SetFont( parent->GetFont() );
 
     wxSize size_best( DoGetBestSize() );