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