From: Julian Smart Date: Wed, 31 Mar 2004 16:32:54 +0000 (+0000) Subject: Added version test X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/479815cafdcbbf7cc10c1ffaf9b532e2ec8f48a8 Added version test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 8329da62c6..e99c566bdd 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -63,7 +63,11 @@ #define TE_UNLIMITED_LENGTH 0xFFFFFFFFUL #if TARGET_API_MAC_OSX #define wxMAC_USE_MLTE 1 + #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 #define wxMAC_USE_MLTE_HIVIEW 1 + #else + #define wxMAC_USE_MLTE_HIVIEW 0 + #endif #else // there is no unicodetextctrl on classic, and hopefully MLTE works better there #define wxMAC_USE_MLTE 1