]> git.saurik.com Git - wxWidgets.git/commitdiff
remove superfluous assert
authorRobin Dunn <robin@alldunn.com>
Sun, 24 Sep 2006 00:39:49 +0000 (00:39 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 24 Sep 2006 00:39:49 +0000 (00:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 6994913a8542bbdac6178ff3d5817496d0ca1b03..41bcbaea0d8cdf3abb46514e824da14ffe2ac3fa 100644 (file)
@@ -475,10 +475,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
 
     if ( m_windowStyle & wxTE_MULTILINE )
     {
 
     if ( m_windowStyle & wxTE_MULTILINE )
     {
-        wxASSERT_MSG(
-            !(m_windowStyle & wxTE_PROCESS_ENTER),
-            wxT("wxTE_PROCESS_ENTER style is ignored for multiline text controls (they always process it)") );
-
+        // always turn on this style for multi-line controls
         m_windowStyle |= wxTE_PROCESS_ENTER;
         style |= wxTE_PROCESS_ENTER ;
     }
         m_windowStyle |= wxTE_PROCESS_ENTER;
         style |= wxTE_PROCESS_ENTER ;
     }