Correctly map MAC_CHARSET to wxFONTENCODING_MACROMAN in wxMSW.
Recognize MAC_CHARSET when mapping MSW charsets to wx font encodings.
(cherry picked from commit 6e72126894
)
This commit is contained in:
@@ -258,6 +258,10 @@ wxFontEncoding wxGetFontEncFromCharSet(int cs)
|
|||||||
fontEncoding = wxFONTENCODING_CP1361;
|
fontEncoding = wxFONTENCODING_CP1361;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MAC_CHARSET:
|
||||||
|
fontEncoding = wxFONTENCODING_MACROMAN;
|
||||||
|
break;
|
||||||
|
|
||||||
#endif // Win32
|
#endif // Win32
|
||||||
|
|
||||||
case OEM_CHARSET:
|
case OEM_CHARSET:
|
||||||
|
Reference in New Issue
Block a user