add wxFontEncoding member into wxNativeEncodingInfo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2000-01-08 23:45:24 +00:00
parent 3b61656e64
commit 6b0eebc537
5 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,7 @@
struct WXDLLEXPORT wxNativeEncodingInfo
{
wxString facename; // may be empty meaning "any"
wxFontEncoding encoding; // so that we know what this struct represents
#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMAC__)
wxNativeEncodingInfo() { charset = 0; /* ANSI_CHARSET */ }

View File

@ -150,6 +150,8 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
return FALSE;
}
info->encoding = encoding;
return TRUE;
}

View File

@ -150,6 +150,8 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
return FALSE;
}
info->encoding = encoding;
return TRUE;
}

View File

@ -158,6 +158,8 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
return FALSE;
}
info->encoding = encoding;
return TRUE;
}

View File

@ -206,6 +206,8 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
return FALSE;
}
info->encoding = encoding;
return TRUE;
}