X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0c3b72446ee4a45e63a953d2a098a5f229f3a57..4fdfe2f3ae110c1f1ba2d925749cac5b761eff4b:/src/mgl/toplevel.cpp diff --git a/src/mgl/toplevel.cpp b/src/mgl/toplevel.cpp index a4f10c308c..ebb4bacd10 100644 --- a/src/mgl/toplevel.cpp +++ b/src/mgl/toplevel.cpp @@ -155,7 +155,7 @@ bool wxTopLevelWindowMGL::Show(bool show) GetEventHandler()->ProcessEvent(event); } - if ( ret && show && AcceptsFocus() ) + if ( ret && show && CanAcceptFocus() ) SetFocus(); // FIXME_MGL -- don't do this for popup windows? return ret;