]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
don't compile in wx hash code unless we really use it (#9532:12)
[wxWidgets.git] / src / common / wincmn.cpp
index 6a5a381c0570470d81488ba52ab6809324369094..6ccc05323efcb0a2e5d862e4a4c0eade07d8a53b 100644 (file)
@@ -402,7 +402,7 @@ bool wxWindowBase::Close(bool force)
 
     // return false if window wasn't closed because the application vetoed the
     // close event
-    return GetEventHandler()->ProcessEvent(event) && !event.GetVeto();
+    return HandleWindowEvent(event) && !event.GetVeto();
 }
 
 bool wxWindowBase::DestroyChildren()