From 7e7ba0dfc58a4188c6ff2abe22b8fd46c9de70fb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Apr 2012 22:25:23 +0000 Subject: [PATCH] Add missing "flags" argument to wxNotificationMessage ctor in wxMSW. It was impossible to specify the flags when creating wxNotificationMessage in wxMSW, cotrary to the other ports and the documentation. Fix this by adding the missing argument to the ctor and simply passing it to the base class one, we don't have to do anything else as the existing code already calls GetFlags() later so it should respect these flags without any more changes. Closes #14245. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/notifmsg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/notifmsg.h b/include/wx/msw/notifmsg.h index b4459b9aa4..91de9bf455 100644 --- a/include/wx/msw/notifmsg.h +++ b/include/wx/msw/notifmsg.h @@ -23,8 +23,9 @@ public: wxNotificationMessage() { Init(); } wxNotificationMessage(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(); } -- 2.47.2