X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/633c71efce4e8a3c0f848282d09ac14d78f6a1cd..824fd93d761e1e697be19a4ca582c5259e12c8ea:/src/gtk/msgdlg.cpp diff --git a/src/gtk/msgdlg.cpp b/src/gtk/msgdlg.cpp index 250c879881..eaa3d7cf3a 100644 --- a/src/gtk/msgdlg.cpp +++ b/src/gtk/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;