]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
support for Mac Help Button added (wxID_HELP) is automatically translated
[wxWidgets.git] / src / gtk / control.cpp
index f8ea0c9dc335709e6d3f88b020528f65b7eb248b..5adb0823c6ce5e15253bf8314300bfa37ebddc26 100644 (file)
@@ -204,7 +204,7 @@ wxControl::GetDefaultAttributesFromGTKWidget(GtkWidget* widget,
     if ( style && style->font_desc )
     {  
         wxNativeFontInfo info;  
-        info.description = style->font_desc;  
+        info.description = pango_font_description_copy(style->font_desc);
         attr.font = wxFont(info);  
     }  
     else