X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad02525dadb780a4bacb6482ac633e90a10fe25c..94d0d21a15fa73ac426480d195d16ee04caf2de8:/src/mgl/toplevel.cpp?ds=inline diff --git a/src/mgl/toplevel.cpp b/src/mgl/toplevel.cpp index ebb4bacd10..d2ede3f43c 100644 --- a/src/mgl/toplevel.cpp +++ b/src/mgl/toplevel.cpp @@ -152,7 +152,7 @@ bool wxTopLevelWindowMGL::Show(bool show) m_sizeSet = true; wxSizeEvent event(GetSize(), GetId()); event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); } if ( ret && show && CanAcceptFocus() )