diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 99e3db2abc97..a12d597091a7 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -395,12 +395,6 @@ void Window::dispose() // hide window in order to trigger the Paint-Handling Hide(); - // announce the window is to be destroyed - { - NotifyEvent aNEvt( MouseNotifyEvent::DESTROY, this ); - CompatNotify( aNEvt ); - } - // EndExtTextInputMode if ( pSVData->maWinData.mpExtTextInputWin == this ) { @@ -2534,9 +2528,9 @@ void Window::EnableInput( bool bEnable, bool bChild ) ImplGenerateMouseMove(); // #104827# notify parent - if ( bNotify ) + if ( bNotify && bEnable ) { - NotifyEvent aNEvt( bEnable ? MouseNotifyEvent::INPUTENABLE : MouseNotifyEvent::INPUTDISABLE, this ); + NotifyEvent aNEvt( MouseNotifyEvent::INPUTENABLE, this ); CompatNotify( aNEvt ); } } |