From 7d532b0ceb43aaa235ba4e814599214bb905ccc9 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 1 Mar 1999 16:31:36 +0000 Subject: [PATCH] Removed my buggy bug-fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index a8fd5cc4e3..404ae402a7 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -2163,6 +2163,10 @@ bool wxWindow::MSWProcessMessage(WXMSG* pMsg) } #endif // wxUSE_TOOLTIPS +/* This code manages to disable character input completely. Nice one! + * Probably because the dialog is requesting all char input. Or, + * it gets called by non-dialog windows. + // In case we don't have wxTAB_TRAVERSAL style on. // If we don't call this, we may never process Enter correctly. if ( m_hWnd != 0 && (GetWindowStyleFlag() & wxTAB_TRAVERSAL) == 0 ) @@ -2171,7 +2175,7 @@ bool wxWindow::MSWProcessMessage(WXMSG* pMsg) if ( ::IsDialogMessage((HWND)GetHWND(), msg) ) return TRUE; } - +*/ return FALSE; }