]> git.saurik.com Git - wxWidgets.git/commitdiff
Added version test
authorJulian Smart <julian@anthemion.co.uk>
Wed, 31 Mar 2004 16:32:54 +0000 (16:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 31 Mar 2004 16:32:54 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 8329da62c6ac6d307f539a5b404eb3bfa74d6bea..e99c566bdd7bfc23007513682e591bc0029ef2af 100644 (file)
 #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