X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/932762afbff99b28617b01b833042038f793ae32..ccd96bfe8e90099e6e6e76464aa969c4ad61c1f0:/src/os2/toplevel.cpp diff --git a/src/os2/toplevel.cpp b/src/os2/toplevel.cpp index a22fed882d..fde6f06b6f 100644 --- a/src/os2/toplevel.cpp +++ b/src/os2/toplevel.cpp @@ -790,7 +790,7 @@ bool wxTopLevelWindowOS2::Show( bool bShow ) ::WinEnableWindow(m_hFrame, TRUE); vEvent.SetEventObject(this); - GetEventHandler()->ProcessEvent(vEvent); + HandleWindowEvent(vEvent); } else { @@ -965,7 +965,7 @@ bool wxTopLevelWindowOS2::ShowFullScreen( bool bShow, wxSize full( nWidth, nHeight ); wxSizeEvent vEvent( full, GetId() ); - GetEventHandler()->ProcessEvent(vEvent); + HandleWindowEvent(vEvent); return true; } else