X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f167b46b42b81f8f646e594057535f05b05027f..c7bfb76a2cf367dcdbff8f9a97e3250053a1adca:/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; }