]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
wxMotif Solaris 2.6 compilation fixes
[wxWidgets.git] / src / gtk / choice.cpp
index 8bbf2ab5b2dd9d1a83a78e897365d17049b71af8..9bf71e04f573542025511715fd2f2c91485dedae 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "wx/choice.h"
 
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
 //-----------------------------------------------------------------------------
 // data
 //-----------------------------------------------------------------------------
@@ -93,6 +96,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
 
     Show( TRUE );