Removed my buggy bug-fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-03-01 16:31:36 +00:00
parent 50ef256ed3
commit 7d532b0ceb

View File

@ -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;
}