more recognized response types

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-06-20 17:19:59 +00:00
parent 5dc43d1fc5
commit 0e4a70455a
2 changed files with 4 additions and 0 deletions

View 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;

View 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;