]> git.saurik.com Git - wxWidgets.git/commitdiff
removed compilation warning about "switch with default but no case" (no
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 May 1998 23:34:01 +0000 (23:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 May 1998 23:34:01 +0000 (23:34 +0000)
real changes)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index 1bf29317922fe4f3f191e7c0a656ac81c66e275e..2532bd4555899a1e1853d0623f376e98af38c4fb 100644 (file)
@@ -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);
 }