From bf473da729e2be34f890d8b9c9af4a4143f1647b Mon Sep 17 00:00:00 2001 From: David Surovell Date: Sat, 14 Jan 2006 08:49:42 +0000 Subject: [PATCH] fixed crash introduced in v1.41 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/dnd.cpp b/src/mac/carbon/dnd.cpp index ff60f3d46e..dac1bb95ef 100644 --- a/src/mac/carbon/dnd.cpp +++ b/src/mac/carbon/dnd.cpp @@ -602,7 +602,7 @@ pascal OSErr wxMacWindowDragTrackingHandler( } // set cursor for OnEnter and OnDragOver - if ( !trackingGlobals->m_currentSource && trackingGlobals->m_currentSource->GiveFeedback( result ) ) + if ( trackingGlobals->m_currentSource && !trackingGlobals->m_currentSource->GiveFeedback( result ) ) { if ( !trackingGlobals->m_currentSource->MacInstallDefaultCursor( result ) ) { -- 2.45.2