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:
parent
5dc43d1fc5
commit
0e4a70455a
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user