]> git.saurik.com Git - wxWidgets.git/commitdiff
more recognized response types
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 20 Jun 2004 17:19:59 +0000 (17:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 20 Jun 2004 17:19:59 +0000 (17:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/msgdlg.cpp
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;
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;