From: Stefan Csomor Date: Thu, 7 Apr 2005 15:44:45 +0000 (+0000) Subject: using font substitution (allows for fallbacks when unicode chars are not available... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7215f534ad49c7e4ab146137abeeefc1a385e874 using font substitution (allows for fallbacks when unicode chars are not available in the current font) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 5b29292da4..9397ea6acd 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -1488,7 +1488,7 @@ void wxMacMLTEControl::SetStringValue( const wxString &str) TXNFrameOptions wxMacMLTEControl::FrameOptionsFromWXStyle( long wxStyle ) { TXNFrameOptions frameOptions = - kTXNDontDrawCaretWhenInactiveMask ; + kTXNDontDrawCaretWhenInactiveMask | kTXNDoFontSubstitutionMask ; if ( ! ( wxStyle & wxTE_NOHIDESEL ) ) frameOptions |= kTXNDontDrawSelectionWhenInactiveMask ; @@ -1528,7 +1528,7 @@ void wxMacMLTEControl::AdjustCreationAttributes( const wxColour &background, boo }; TXNControlData iControlData[] = { - {false}, + {true}, {kTXNNoAutoWrap}, };