Kaydet (Commit) 2d067737 authored tarafından Caolán McNamara's avatar Caolán McNamara

replace some IsDead with isDisposed

keep both tests for now for cowardice

Change-Id: I96d922ef64b874f2124204c3c564a38fa7511ffe
üst 4c9d7772
...@@ -739,11 +739,13 @@ bool ImplHandleMouseEvent( vcl::Window* pWindow, MouseNotifyEvent nSVEvent, bool ...@@ -739,11 +739,13 @@ bool ImplHandleMouseEvent( vcl::Window* pWindow, MouseNotifyEvent nSVEvent, bool
} }
} }
if ( !aDelData.IsDead() ) assert(aNEvt.GetWindow() == pChild);
aNEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNEvt );
if (!pChild->isDisposed() || !aDelData.IsDead())
pChild->ImplNotifyKeyMouseCommandEventListeners( aNEvt );
} }
if ( aDelData.IsDead() ) if (pChild->isDisposed() || aDelData.IsDead())
return true; return true;
if ( nSVEvent == MouseNotifyEvent::MOUSEMOVE ) if ( nSVEvent == MouseNotifyEvent::MOUSEMOVE )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment