]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
1. Pause()/Resume() implemented for wxMSW
[wxWidgets.git] / src / msw / taskbar.cpp
index b0bd7cc9a7ffac0421071752c063d782a9e1409d..749fabf602a42795db8c795e72a77061e66c0bfc 100644 (file)
@@ -158,7 +158,7 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) //, int x, int y);
     rval = win->PopupMenu(menu, 0, 0);
 
     win->PopEventHandler(FALSE);
-    delete win;
+    win->Destroy();
     return rval;
 }