X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e36a173933aaa81b28a27979c3748e8bc42ef88c..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/generic/notifmsg.h diff --git a/include/wx/generic/notifmsg.h b/include/wx/generic/notifmsg.h index e4beca030e..9f81e2b51f 100644 --- a/include/wx/generic/notifmsg.h +++ b/include/wx/generic/notifmsg.h @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/generic/notifmsg.h -// Purpose: generic implementation of wxNotificationMessage +// Purpose: generic implementation of wxGenericNotificationMessage // Author: Vadim Zeitlin // Created: 2007-11-24 // RCS-ID: $Id$ @@ -14,22 +14,23 @@ class wxNotificationMessageDialog; // ---------------------------------------------------------------------------- -// wxNotificationMessage +// wxGenericNotificationMessage // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_ADV wxNotificationMessage : public wxNotificationMessageBase +class WXDLLIMPEXP_ADV wxGenericNotificationMessage : public wxNotificationMessageBase { public: - wxNotificationMessage() { Init(); } - wxNotificationMessage(const wxString& title, - const wxString& message = wxString(), - wxWindow *parent = NULL) - : wxNotificationMessageBase(title, message, parent) + wxGenericNotificationMessage() { Init(); } + wxGenericNotificationMessage(const wxString& title, + const wxString& message = wxString(), + wxWindow *parent = NULL, + int flags = wxICON_INFORMATION) + : wxNotificationMessageBase(title, message, parent, flags) { Init(); } - virtual ~wxNotificationMessage(); + virtual ~wxGenericNotificationMessage(); virtual bool Show(int timeout = Timeout_Auto); @@ -53,7 +54,7 @@ private: wxNotificationMessageDialog *m_dialog; - DECLARE_NO_COPY_CLASS(wxNotificationMessage) + wxDECLARE_NO_COPY_CLASS(wxGenericNotificationMessage); }; #endif // _WX_GENERIC_NOTIFMSG_H_