From 11d6793f15854403a536dc5bd08dba75b4697a3a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 11 Nov 2006 20:02:07 +0000 Subject: [PATCH] Remove superfluous assert that conflicts with style settings needed on wxGTK to get the same effect. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textctrl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 22aacd1548..32c83c9b9b 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -579,9 +579,6 @@ WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const // styles which we alaways add by default if ( style & wxTE_MULTILINE ) { - wxASSERT_MSG( !(style & wxTE_PROCESS_ENTER), - wxT("wxTE_PROCESS_ENTER style is ignored for multiline text controls (they always process it)") ); - msStyle |= ES_MULTILINE | ES_WANTRETURN; if ( !(style & wxTE_NO_VSCROLL) ) { -- 2.45.2