From d8b98f009e4631d5e5116a056a8fb230f7759c5c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 May 1998 23:34:01 +0000 Subject: [PATCH] removed compilation warning about "switch with default but no case" (no real changes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textctrl.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 1bf2931792..2532bd4555 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -939,17 +939,15 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) long wxTextCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) { +/* switch (nMsg) { -/* case WM_GETDLGCODE: { if (GetWindowStyleFlag() & wxPROCESS_ENTER) return DLGC_WANTALLKEYS; break; } -*/ -/* case WM_CHAR: // Always an ASCII character { if (wParam == VK_RETURN) @@ -962,10 +960,10 @@ long wxTextCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) } break; } -*/ default: break; } +*/ return wxWindow::MSWWindowProc(nMsg, wParam, lParam); } -- 2.45.2