Changed the "delete win" to the more proper "win->Destroy()" in
PopupMenu. The sample still has the Close anomally though... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user