From cfb265f172d6e1fe8350674d099717347b5fda05 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 22 Jul 2008 14:53:24 +0000 Subject: [PATCH] trying to fix dnd problems with the unicodetextcontrol under leopard refs #9748 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/textctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index cc2ebf3d5c..e90eb55cc0 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -425,7 +425,7 @@ void wxTextCtrl::CreatePeer( if ( UMAGetSystemVersion() >= 0x1030 && !forceMLTE ) { - if ( m_windowStyle & wxTE_MULTILINE ) + if ( (m_windowStyle & wxTE_MULTILINE) || ( UMAGetSystemVersion() >= 0x1050 ) ) m_peer = new wxMacMLTEHIViewControl( this , str , pos , size , style ) ; }