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:
@@ -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() )
|
||||
|
Reference in New Issue
Block a user