]> git.saurik.com Git - wxWidgets.git/commitdiff
using font substitution (allows for fallbacks when unicode chars are not available...
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 7 Apr 2005 15:44:45 +0000 (15:44 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 7 Apr 2005 15:44:45 +0000 (15:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 5b29292da49bcbd01b0bdbe91f2b915a1fe906de..9397ea6acde5f8c5f63cb8fb76ce9b7049de3acd 100644 (file)
@@ -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},
         };