diff options
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index f7920f793f43..869516b45902 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -157,7 +157,7 @@ void Window::dispose() CallEventListeners( VclEventId::ObjectDying ); // do not send child events for frames that were registered as native frames - if( !ImplIsAccessibleNativeFrame() && mpWindowImpl->mbReallyVisible ) + if( !IsNativeFrame() && mpWindowImpl->mbReallyVisible ) if ( ImplIsAccessibleCandidate() && GetAccessibleParentWindow() ) GetAccessibleParentWindow()->CallEventListeners( VclEventId::WindowChildDestroyed, this ); |