fixed crash introduced in v1.41

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Surovell 2006-01-14 08:49:42 +00:00
parent e22ab33a47
commit bf473da729

View File

@ -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 ) )
{