Added missing '!' to HasCapture() in window.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-01 17:34:48 +00:00
parent e90bc5bffe
commit 38fc0d9db9

View File

@@ -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;