X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97f897620411af15ea6b67e5c5bdd65caf34b4d5..26822b76fae3b6d8e90c305985ae13002b26b78a:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index a7165cf5ec..afcc29cb00 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -544,7 +544,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event) if (event->type == ButtonPress) { - if ((win != wxWindow::FindFocus()) && win->AcceptsFocus()) + if ((win != wxWindow::FindFocus()) && win->CanAcceptFocus()) { // This might actually be done in wxWindow::SetFocus() // and not here. TODO.