]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
Removed USING_CONFIGURE define. As VZ pointed out, checking HAVE_CONFIG_H
[wxWidgets.git] / src / mac / window.cpp
index 10ec3976dd283405badbaea6bddbe998945603a2..a54fd3331d66f33a34bf6fa0579c9e64a314eaae 100644 (file)
@@ -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);
 }