X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/633c71efce4e8a3c0f848282d09ac14d78f6a1cd..118322a3dfcc1803bd13df8193ea1be9ae39e653:/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;