projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced /'s with \'s as BCC requires \'s for path names
[wxWidgets.git]
/
src
/
gtk
/
font.cpp
diff --git
a/src/gtk/font.cpp
b/src/gtk/font.cpp
index 1da01a2ed06703f39d210b8fafc7a90524da35fc..c8a4c8da16b251022b6d1cb634d7683328fea849 100644
(file)
--- a/
src/gtk/font.cpp
+++ b/
src/gtk/font.cpp
@@
-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;
}