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:
parent
e22ab33a47
commit
bf473da729
@ -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 ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user