]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
Derive wxStaticText from wxStaticTextBase, remove dead code/code
[wxWidgets.git] / src / os2 / window.cpp
index 25610ad24863b1e170559b5cd6c8c934dab7461f..e99ecaa4d2c9d00d4dd4b81f7db6e1b4840c58db 100644 (file)
@@ -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