X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..850df2d78866c3edcf848103b5dbc7e7fa1ee5fa:/src/x11/evtloop.cpp?ds=sidebyside diff --git a/src/x11/evtloop.cpp b/src/x11/evtloop.cpp index 3e1e5213ef..4540e888da 100644 --- a/src/x11/evtloop.cpp +++ b/src/x11/evtloop.cpp @@ -98,31 +98,8 @@ bool wxEventLoopImpl::ProcessEvent(XEvent *event) return false; } -bool wxEventLoopImpl::PreProcessEvent(XEvent *event) +bool wxEventLoopImpl::PreProcessEvent(XEvent *WXUNUSED(event)) { - // TODO -#if 0 - HWND hWnd = msg->hwnd; - wxWindow *wndThis = wxGetWindowFromHWND((WXHWND)hWnd); - - - // try translations first; find the youngest window with a translation - // table. - wxWindow *wnd; - for ( wnd = wndThis; wnd; wnd = wnd->GetParent() ) - { - if ( wnd->MSWTranslateMessage((WXMSG *)msg) ) - return true; - } - - // Anyone for a non-translation message? Try youngest descendants first. - for ( wnd = wndThis; wnd; wnd = wnd->GetParent() ) - { - if ( wnd->MSWProcessMessage((WXMSG *)msg) ) - return true; - } -#endif - return false; }