]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
Dialog items inherit parent's font now
[wxWidgets.git] / src / gtk / stattext.cpp
index b1f31084a56e3d833e5c06d226a1efc6ffbb7d42..9026c416b59dbcb2b9d4ad352c43760c08586869 100644 (file)
@@ -72,6 +72,7 @@ bool wxStaticText::Create( wxWindow *parent, wxWindowID id, const wxString &labe
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
 
     Show( TRUE );