X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afbf46a31740bb05af12a8ba0069345a2c9aba46..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/notifmsg.h diff --git a/include/wx/gtk/notifmsg.h b/include/wx/gtk/notifmsg.h index 195991e516..9135b3aee8 100644 --- a/include/wx/gtk/notifmsg.h +++ b/include/wx/gtk/notifmsg.h @@ -3,7 +3,6 @@ // Purpose: wxNotificationMessage for wxGTK. // Author: Vadim Zeitlin // Created: 2012-07-25 -// RCS-ID: $Id$ // Copyright: (c) 2012 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -36,10 +35,15 @@ public: virtual bool Show(int timeout = Timeout_Auto); virtual bool Close(); + // Set the name of the icon to use, overriding the default icon determined + // by the flags. Call with empty string to reset custom icon. + bool GTKSetIconName(const wxString& name); + private: void Init() { m_notification = NULL; } NotifyNotification* m_notification; + wxString m_iconName; wxDECLARE_NO_COPY_CLASS(wxNotificationMessage); };