X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a93109d5926130130a73cb77272887dad4814521..227b5cd72fe18864553ab0fc0688bb017f349e61:/src/gtk/stattext.cpp?ds=sidebyside diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index e7b40878d4..9026c416b5 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -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 );