]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/settings.cpp
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoor...
[wxWidgets.git] / src / gtk1 / settings.cpp
index 29c639b59010e6fceb12617627ee3defe9113eb8..99a09be81e00e29e858364f5b125506c836c4386 100644 (file)
@@ -308,7 +308,8 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index )
                 if ( def && def->font_desc )
                 {  
                     wxNativeFontInfo info;  
-                    info.description = def->font_desc;  
+                    info.description = 
+                        pango_font_description_copy(def->font_desc);
                     gs_objects.m_fontSystem = wxFont(info);  
                 }  
                 else