]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
added mingw32 host platform to configure.in, added WINVER define for windows
[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);
 }