]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
AIX patches from Hans-Joachim Baader <hans-joachim.baader@cjt.de>
[wxWidgets.git] / src / gtk / stattext.cpp
index e7b40878d407183b9245fd5ebea579a88aeec466..9026c416b59dbcb2b9d4ad352c43760c08586869 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "wx/stattext.h"
 
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
 //-----------------------------------------------------------------------------
 // wxStaticText
 //-----------------------------------------------------------------------------
@@ -69,6 +72,7 @@ bool wxStaticText::Create( wxWindow *parent, wxWindowID id, const wxString &labe
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
 
     Show( TRUE );