diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 3f8402ded1..9b807e8b7a 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -1809,7 +1809,7 @@ bool wxTextCtrl::MSWShouldPreProcessMessage(WXMSG* msg) // fall through case 0: - if ( vkey == VK_RETURN ) + if ( IsMultiLine() && vkey == VK_RETURN ) return false; // fall through case 2: