compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user