// wxNotificationMessage implementation
// ============================================================================
+bool wxNotificationMessage::GTKSetIconName(const wxString& name)
+{
+ m_iconName = name;
+
+ return true;
+}
+
bool wxNotificationMessage::Show(int timeout)
{
if ( !wxLibnotifyModule::Initialize() )
return false;
}
+ // Explicitly specified icon name overrides the implicit one determined by
+ // the flags.
+ wxScopedCharBuffer buf;
+ if ( !m_iconName.empty() )
+ {
+ buf = m_iconName.utf8_str();
+ icon = buf;
+ }
+
// Create the notification or update an existing one if we had already been
// shown before.
if ( !m_notification )