X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f167b46b42b81f8f646e594057535f05b05027f..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/taskbar.h?ds=sidebyside 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; }