X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/932762afbff99b28617b01b833042038f793ae32..f9727b1be58d5cc9be85d12f8d47f3544f881b97:/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