#include <windowsx.h>
#include "wx/msw/private.h"
-#include "wx/msw/wrapshl.h"
+#include "wx/msw/winundef.h"
#include <string.h>
#include <stdlib.h>
}
#endif // wxUSE_RICHEDIT
- if ( style & wxTE_FILENAME )
- wxEnableFileNameAutoComplete(GetHwnd());
-
gs_wndprocEdit = wxSetWindowProc((HWND)GetHwnd(),
wxTextCtrlWndProc);
// fall through
case 0:
- if ( vkey == VK_RETURN )
+ if ( IsMultiLine() && vkey == VK_RETURN )
return false;
// fall through
case 2: