X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0c3b72446ee4a45e63a953d2a098a5f229f3a57..1a1f3e4b53fd5d1515b16905edf4250dfb2fc676:/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;