]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
Wine fixes
[wxWidgets.git] / src / msw / textctrl.cpp
index 1fb31b72c72361ae1543394ccedea1016419a47d..32c83c9b9bda15ae90235016aca2b30a5085fde2 100644 (file)
@@ -50,6 +50,7 @@
 #include <windowsx.h>
 
 #include "wx/msw/private.h"
+#include "wx/msw/winundef.h"
 #include "wx/msw/mslu.h"
 
 #include <string.h>
@@ -578,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) )
         {