]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/notifmsg.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / generic / notifmsg.h
index bfa2d7214e361978f7376e786142952a71086985..9f81e2b51f8a14e804a75101b1fee821622ef11d 100644 (file)
@@ -23,8 +23,9 @@ public:
     wxGenericNotificationMessage() { Init(); }
     wxGenericNotificationMessage(const wxString& title,
                                  const wxString& message = wxString(),
-                                 wxWindow *parent = NULL)
-        : wxNotificationMessageBase(title, message, parent)
+                                 wxWindow *parent = NULL,
+                                 int flags = wxICON_INFORMATION)
+        : wxNotificationMessageBase(title, message, parent, flags)
     {
         Init();
     }
@@ -53,7 +54,7 @@ private:
     wxNotificationMessageDialog *m_dialog;
 
 
-    DECLARE_NO_COPY_CLASS(wxGenericNotificationMessage)
+    wxDECLARE_NO_COPY_CLASS(wxGenericNotificationMessage);
 };
 
 #endif // _WX_GENERIC_NOTIFMSG_H_