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:
@@ -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
|
||||
|
Reference in New Issue
Block a user