]> git.saurik.com Git - wxWidgets.git/commitdiff
switch OSX implementations to unicode text ctrl meanwhile
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 23 Feb 2005 16:48:19 +0000 (16:48 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 23 Feb 2005 16:48:19 +0000 (16:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 7273cf7bb875dffaa25f40603422954e6e30783a..a35a21367864613aa5ed3249a7ccdec5809c1993 100644 (file)
@@ -59,7 +59,7 @@
 // if this is set to 1 then under OSX 10.2 the 'classic' MLTE implementation will be used
 // if set to 0 then the unicode textctrl will be used
 #ifndef wxMAC_AWAYS_USE_MLTE
-#define wxMAC_AWAYS_USE_MLTE 1
+#define wxMAC_AWAYS_USE_MLTE 0
 #endif
 
 #ifndef __WXMAC_OSX__
@@ -416,7 +416,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
 
 #ifdef __WXMAC_OSX__
 #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2
-    if ( UMAGetSystemVersion() >= 0x1030 )
+    if ( UMAGetSystemVersion() >= 0x1050 )
     {
         m_peer = new wxMacMLTEHIViewControl( this , str , pos , size , style ) ;
     }