projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If no colour name then use "BLACK"
[wxWidgets.git]
/
src
/
gtk
/
control.cpp
diff --git
a/src/gtk/control.cpp
b/src/gtk/control.cpp
index f8ea0c9dc335709e6d3f88b020528f65b7eb248b..5adb0823c6ce5e15253bf8314300bfa37ebddc26 100644
(file)
--- a/
src/gtk/control.cpp
+++ b/
src/gtk/control.cpp
@@
-204,7
+204,7
@@
wxControl::GetDefaultAttributesFromGTKWidget(GtkWidget* widget,
if ( style && style->font_desc )
{
wxNativeFontInfo info;
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
attr.font = wxFont(info);
}
else