X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/633c71efce4e8a3c0f848282d09ac14d78f6a1cd..1ab36908f93242d578b42d314e93dec6a2e2819a:/src/gtk1/msgdlg.cpp?ds=sidebyside diff --git a/src/gtk1/msgdlg.cpp b/src/gtk1/msgdlg.cpp index 250c879881..eaa3d7cf3a 100644 --- a/src/gtk1/msgdlg.cpp +++ b/src/gtk1/msgdlg.cpp @@ -108,6 +108,8 @@ int wxMessageDialog::ShowModal() // fall through case GTK_RESPONSE_CANCEL: + case GTK_RESPONSE_DELETE_EVENT: + case GTK_RESPONSE_CLOSE: return wxID_CANCEL; case GTK_RESPONSE_OK: return wxID_OK;