Fixed my fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-08-10 06:27:10 +00:00
parent a8cb1d29e7
commit 50bcd1ae77

View 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;
}