]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
1. the common helper functions are now in src/unix/utilsunx.cpp
[wxWidgets.git] / src / gtk / button.cpp
index 42716b5b40dfd88bb7d36aea4fbc15c5f7dc8bdf..af6d56d5982f01b14c4cf4af6be0643791f55b42 100644 (file)
@@ -89,6 +89,7 @@ bool wxButton::Create(  wxWindow *parent, wxWindowID id, const wxString &label,
   
     SetBackgroundColour( parent->GetBackgroundColour() );
     SetForegroundColour( parent->GetForegroundColour() );
+    SetFont( parent->GetFont() );
 
     Show( TRUE );