]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/notifmsg.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / gtk / notifmsg.h
index 195991e5163638bf924474f8a02dc665849fb37a..9135b3aee8ea3659dfec08b238da9c5957cda801 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxNotificationMessage for wxGTK.
 // Author:      Vadim Zeitlin
 // Created:     2012-07-25
-// RCS-ID:      $Id$
 // Copyright:   (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
 // 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);
 };