From 816c58e0afa5c1fd4d575c71e6bd784ee10cd30e Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Mon, 14 Sep 2015 20:44:53 +0200 Subject: [PATCH] Add documentation for wxNotificationMessage::UseTaskBarIcon (MSW). The method is not new, but was undocumented previously. --- interface/wx/notifmsg.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/interface/wx/notifmsg.h b/interface/wx/notifmsg.h index 7b35be6f82..b93cccf6e5 100644 --- a/interface/wx/notifmsg.h +++ b/interface/wx/notifmsg.h @@ -158,5 +158,17 @@ public: @return @false if an error occurred. */ virtual bool Show(int timeout = Timeout_Auto); + + /** + If the application already uses a wxTaskBarIcon, it should be connected + to notifications by using this method. This has no effect if toast + notifications are used. + + @return the task bar icon which was used previously (may be @c NULL) + + @onlyfor{wxmsw} + */ + static wxTaskBarIcon *UseTaskBarIcon(wxTaskBarIcon *icon); + };