]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/font.cpp
removed log record
[wxWidgets.git] / src / gtk1 / font.cpp
index 1da01a2ed06703f39d210b8fafc7a90524da35fc..c8a4c8da16b251022b6d1cb634d7683328fea849 100644 (file)
@@ -493,6 +493,12 @@ GdkFont *GtkGetDefaultGuiFont()
         }
         gtk_widget_destroy( widget );
     }
+    else
+    {
+        // already have it, but ref it once more before returning
+        gdk_font_ref(g_systemDefaultGuiFont);
+    }
+
     return g_systemDefaultGuiFont;
 }