projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use 4K buffer instead of reading characters one by one in ReadLine()
[wxWidgets.git]
/
src
/
gtk
/
msgdlg.cpp
diff --git
a/src/gtk/msgdlg.cpp
b/src/gtk/msgdlg.cpp
index 250c8798815107889fe90de3b8b66e3fd722e6ff..eaa3d7cf3ab59fc6f1a810bef999b0da26f5d284 100644
(file)
--- a/
src/gtk/msgdlg.cpp
+++ b/
src/gtk/msgdlg.cpp
@@
-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;