From a0f0ebebb91efb2db1d245186022a2057e40b6dd Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 23 Oct 2007 12:30:38 +0000 Subject: [PATCH] making sure we only have the badged exclamation/warning sign for wxICON_EXCLAMATION (sf 1817033) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/msgdlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/msgdlg.cpp b/src/mac/carbon/msgdlg.cpp index e7fc38da40..8be9b0865d 100644 --- a/src/mac/carbon/msgdlg.cpp +++ b/src/mac/carbon/msgdlg.cpp @@ -44,13 +44,13 @@ int wxMessageDialog::ShowModal() AlertType alertType = kAlertPlainAlert; if (style & wxICON_EXCLAMATION) - alertType = kAlertNoteAlert; + alertType = kAlertCautionAlert; else if (style & wxICON_HAND) alertType = kAlertStopAlert; else if (style & wxICON_INFORMATION) alertType = kAlertNoteAlert; else if (style & wxICON_QUESTION) - alertType = kAlertCautionAlert; + alertType = kAlertNoteAlert; #if TARGET_API_MAC_OSX if ( !wxIsMainThread() )