X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/908d407cf9dcdcd2855a93b92333caff965c4f72..30bb5e18acd15fdab9ca70f600eee43771e28928:/src/mac/uma.cpp diff --git a/src/mac/uma.cpp b/src/mac/uma.cpp index faae84417b..48a7599f04 100644 --- a/src/mac/uma.cpp +++ b/src/mac/uma.cpp @@ -164,11 +164,15 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls, bool isEmbedded ) { fontId , (fontSize << 16) ,kTXNDefaultFontStyle, kTXNSystemDefaultEncoding } } ; int noOfFontDescriptions = sizeof( fontDescriptions ) / sizeof(TXNMacOSPreferredFontDescription) ; -#if 0 // TARGET_CARBON - --noOfFontDescriptions ; -#endif + // kTXNAlwaysUseQuickDrawTextMask might be desirable because of speed increases but it crashes the app under OS X upon key stroke - OptionBits options = kTXNWantMoviesMask | kTXNWantSoundMask | kTXNWantGraphicsMask ; +#if 0 + // leads to unexpected content for clients, TODO configurable + OptionBits options = kTXNWantMoviesMask | kTXNWantSoundMask | kTXNWantGraphicsMask ; +#else + OptionBits options = 0 ; +#endif + #if TARGET_CARBON if ( !UMAHasAquaLayout() ) #endif