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:
parent
a8cb1d29e7
commit
50bcd1ae77
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user