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
This commit is contained in:
Stefan Csomor 2005-04-07 15:44:45 +00:00
parent 531436ec3d
commit 7215f534ad

View 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},
};