projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
autogenerated now
[wxWidgets.git]
/
src
/
mac
/
window.cpp
diff --git
a/src/mac/window.cpp
b/src/mac/window.cpp
index 10ec3976dd283405badbaea6bddbe998945603a2..a54fd3331d66f33a34bf6fa0579c9e64a314eaae 100644
(file)
--- a/
src/mac/window.cpp
+++ b/
src/mac/window.cpp
@@
-1110,7
+1110,10
@@
bool wxWindow::Close(bool force)
{
wxCloseEvent event(wxEVT_CLOSE_WINDOW, m_windowId);
event.SetEventObject(this);
+#if WXWIN_COMPATIBILITY
event.SetForce(force);
+#endif
+ event.SetCanVeto(!force);
return GetEventHandler()->ProcessEvent(event);
}