added wxTaskBarIcon::Destroy()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-08-14 22:43:39 +00:00
parent 03859c918c
commit 39f0cb547f
4 changed files with 30 additions and 0 deletions

View File

@@ -20,9 +20,12 @@
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/list.h"
#include "wx/menu.h"
#endif
extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
// DLL options compatibility check:
WX_CHECK_BUILD_OPTIONS("wxAdvanced")
@@ -51,4 +54,9 @@ void wxTaskBarIconBase::OnRightButtonDown(wxTaskBarIconEvent& WXUNUSED(event))
}
}
void wxTaskBarIconBase::Destroy()
{
wxPendingDelete.Append(this);
}
#endif // wxUSE_TASKBARICON