]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
1. the common helper functions are now in src/unix/utilsunx.cpp
[wxWidgets.git] / src / gtk / radiobut.cpp
index efab7e9d5cb955c5a971202c09371ca75d851b7d..b1dd17479f95d444cc87e1db543ffb16e2fcf311 100644 (file)
@@ -13,6 +13,8 @@
 #endif
 
 #include "wx/radiobut.h"
 #endif
 
 #include "wx/radiobut.h"
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
 
 //-----------------------------------------------------------------------------
 // data
 
 //-----------------------------------------------------------------------------
 // data
@@ -88,6 +90,7 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
 
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
 
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
   
     Show( TRUE );
 
   
     Show( TRUE );