]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/msgdlg.cpp
set mask when converting pixbuf to pixmap
[wxWidgets.git] / src / gtk / msgdlg.cpp
index 250c8798815107889fe90de3b8b66e3fd722e6ff..eaa3d7cf3ab59fc6f1a810bef999b0da26f5d284 100644 (file)
@@ -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;