compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-21 17:07:44 +00:00
parent 23afe648ce
commit 826800550b

View File

@@ -63,10 +63,10 @@ wxNativeFontInfo::Init(const wxNativeFontInfo& info)
if (info.description) if (info.description)
description = pango_font_description_copy(info.description); description = pango_font_description_copy(info.description);
else else
description = NULL; description = NULL;
} }
wxNativeFontInfo::Free() void wxNativeFontInfo::Free()
{ {
if (description) if (description)
pango_font_description_free(description); pango_font_description_free(description);
@@ -725,7 +725,7 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
break; break;
case wxFONTENCODING_GB2312: case wxFONTENCODING_GB2312:
info->xregistry = wxT("GB2312"); // or the otherway round? info->xregistry = wxT("GB2312"); // or the otherway round?
info->xencoding = wxT("*"); info->xencoding = wxT("*");
break; break;