From b7e28620c2625d6a0fdc6914151adea56195d88b Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Sun, 10 Apr 2005 04:36:47 +0000 Subject: [PATCH] kTXNDoFontSubstitutionMask requires OS X 10.3 (undefined symbol on < 10.3) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/textctrl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 9397ea6acd..baa26ddc54 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -1488,7 +1488,11 @@ void wxMacMLTEControl::SetStringValue( const wxString &str) TXNFrameOptions wxMacMLTEControl::FrameOptionsFromWXStyle( long wxStyle ) { TXNFrameOptions frameOptions = - kTXNDontDrawCaretWhenInactiveMask | kTXNDoFontSubstitutionMask ; + kTXNDontDrawCaretWhenInactiveMask +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3 + | kTXNDoFontSubstitutionMask +#endif + ; if ( ! ( wxStyle & wxTE_NOHIDESEL ) ) frameOptions |= kTXNDontDrawSelectionWhenInactiveMask ; -- 2.45.2