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
This commit is contained in:
Stefan Csomor
2007-10-23 12:30:38 +00:00
parent 37a67a422c
commit a0f0ebebb9

View File

@@ -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() )