X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f167b46b42b81f8f646e594057535f05b05027f..c3c62822fdda9d340179dec663a806e905882cc9:/include/wx/taskbar.h diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h index ab10e8b5fe..6925331730 100644 --- a/include/wx/taskbar.h +++ b/include/wx/taskbar.h @@ -35,6 +35,9 @@ public: virtual bool RemoveIcon() = 0; virtual bool PopupMenu(wxMenu *menu) = 0; + // delayed destruction (similarly to wxWindow::Destroy()) + void Destroy(); + protected: // creates menu to be displayed when user clicks on the icon virtual wxMenu *CreatePopupMenu() { return NULL; }