]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed my fix
authorJulian Smart <julian@anthemion.co.uk>
Tue, 10 Aug 1999 06:27:10 +0000 (06:27 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 10 Aug 1999 06:27:10 +0000 (06:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/taskbar.cpp

index e9ba5a03c6f7c55cfee7ee6af71ab87b8266739c..af35406da449033fbdd9b0763936aaf06c5aeade 100644 (file)
@@ -170,11 +170,13 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) //, int x, int y);
     // if we try to exit right now.
     wxTopLevelWindows.DeleteObject(win);
 
+    menu->UpdateUI();
+
     rval = win->PopupMenu(menu, 0, 0);
 
     win->PopEventHandler(FALSE);
     win->Destroy();
-    delete win;
+    //delete win;
 
     return rval;
 }