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:
@@ -170,11 +170,13 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) //, int x, int y);
|
|||||||
// if we try to exit right now.
|
// if we try to exit right now.
|
||||||
wxTopLevelWindows.DeleteObject(win);
|
wxTopLevelWindows.DeleteObject(win);
|
||||||
|
|
||||||
|
menu->UpdateUI();
|
||||||
|
|
||||||
rval = win->PopupMenu(menu, 0, 0);
|
rval = win->PopupMenu(menu, 0, 0);
|
||||||
|
|
||||||
win->PopEventHandler(FALSE);
|
win->PopEventHandler(FALSE);
|
||||||
win->Destroy();
|
win->Destroy();
|
||||||
delete win;
|
//delete win;
|
||||||
|
|
||||||
return rval;
|
return rval;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user