Removed assert when charset not recognised
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -414,7 +414,10 @@ wxFont wxCreateFontFromLogFont(const LOGFONT *logFont)
|
||||
switch ( logFont->lfCharSet )
|
||||
{
|
||||
default:
|
||||
wxFAIL_MSG(wxT("unsupported charset"));
|
||||
// JACS: Silently using ANSI_CHARSET
|
||||
// apparently works for Chinese Windows. Assume it works
|
||||
// for all/most other languages.
|
||||
//wxFAIL_MSG(wxT("unsupported charset"));
|
||||
// fall through
|
||||
|
||||
case ANSI_CHARSET:
|
||||
|
Reference in New Issue
Block a user