Add support for wxFONTENCODING_MACKEYBOARD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ec0114abef
commit
991dd5beb9
@ -270,9 +270,13 @@ inline CFStringEncoding wxCFStringEncFromFontEnc(wxFontEncoding encoding)
|
|||||||
case wxFONTENCODING_MACGAELIC :
|
case wxFONTENCODING_MACGAELIC :
|
||||||
enc = kCFStringEncodingMacGaelic ;
|
enc = kCFStringEncodingMacGaelic ;
|
||||||
break ;
|
break ;
|
||||||
// case wxFONTENCODING_MACKEYBOARD :
|
/* CFString is known to support this back to the original CarbonLib */
|
||||||
// enc = kCFStringEncodingMacKeyboardGlyphs ;
|
/* http://developer.apple.com/samplecode/CarbonMDEF/listing2.html */
|
||||||
// break ;
|
case wxFONTENCODING_MACKEYBOARD :
|
||||||
|
/* We don't wish to pollute the namespace too much, even though we're a private header. */
|
||||||
|
/* The constant is well-defined as 41 and is not expected to change. */
|
||||||
|
enc = 41 /*kTextEncodingMacKeyboardGlyphs*/ ;
|
||||||
|
break ;
|
||||||
|
|
||||||
default :
|
default :
|
||||||
// because gcc is picky
|
// because gcc is picky
|
||||||
|
Loading…
Reference in New Issue
Block a user