]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
1. the common helper functions are now in src/unix/utilsunx.cpp
[wxWidgets.git] / src / gtk1 / statbox.cpp
index a41325fb08a0f691ac39737bd6f9c78007862cba..2bef39033731f9383cf3fdf6fa7754dff9eb8a66 100644 (file)
@@ -13,6 +13,9 @@
 
 #include "wx/statbox.h"
 
 
 #include "wx/statbox.h"
 
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
@@ -52,6 +55,7 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
 
     Show( TRUE );
 
 
     Show( TRUE );