X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7de595519a38b04622b80fbb7b90f741f8a832b2..c71d3313a42a8fdc6efd6a0c49ad13def665ef2f:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 25610ad248..e99ecaa4d2 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -3513,7 +3513,9 @@ bool wxWindowOS2::HandleCreate( bool wxWindowOS2::HandleDestroy() { - SendDestroyEvent(); + wxWindowDestroyEvent vEvent((wxWindow*)this); + vEvent.SetId(GetId()); + (void)GetEventHandler()->ProcessEvent(vEvent); // // Delete our drop target if we've got one