]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/msgdlg.cpp
set click coordinates to (-1, -1) if right mouse button event was generated from...
[wxWidgets.git] / src / gtk1 / 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;