From 38fc0d9db91fadcd52aeee27a99a7656973584ff Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 1 Feb 2002 17:34:48 +0000 Subject: [PATCH] Added missing '!' to HasCapture() in window.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 1f7b937009..738f94dda0 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1180,7 +1180,7 @@ void wxWindowMSW::OnIdle(wxIdleEvent& WXUNUSED(event)) // Check if we need to send a LEAVE event if ( m_mouseInWindow ) { - if ( !IsMouseInWindow() && HasCapture()) + if ( !IsMouseInWindow() && !HasCapture()) { // Generate a LEAVE event m_mouseInWindow = FALSE; -- 2.45.2