]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
EVT_TEXT_UPDATED bug fixed, text ctrl callbacks simplified
[wxWidgets.git] / src / gtk1 / statbox.cpp
index e5239cc9243669fe0d94f0245bc88a6528daf6bf..2bef39033731f9383cf3fdf6fa7754dff9eb8a66 100644 (file)
@@ -55,6 +55,7 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
 
     Show( TRUE );