From 14596452e781f6a66bcc63b0c447c852df1f2896 Mon Sep 17 00:00:00 2001 From: Tobias Madl Date: Wed, 26 Nov 2014 14:53:25 +0000 Subject: fdo#84938: replace EVENT_ constants with enum Change-Id: I8275832d8dae43b374bddd48520d11592e9a6a1f Reviewed-on: https://gerrit.libreoffice.org/13134 Tested-by: LibreOffice gerrit bot Reviewed-by: Noel Grandin --- vcl/source/window/toolbox.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/window/toolbox.cxx') diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 4bb6d2bb5b1d..0610246c8ec3 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -4266,7 +4266,7 @@ void ToolBox::RequestHelp( const HelpEvent& rHEvt ) bool ToolBox::Notify( NotifyEvent& rNEvt ) { - if ( rNEvt.GetType() == EVENT_KEYINPUT ) + if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { KeyEvent aKEvt = *rNEvt.GetKeyEvent(); vcl::KeyCode aKeyCode = aKEvt.GetKeyCode(); @@ -4294,7 +4294,7 @@ bool ToolBox::Notify( NotifyEvent& rNEvt ) break; }; } - else if( rNEvt.GetType() == EVENT_GETFOCUS ) + else if( rNEvt.GetType() == MouseNotifyEvent::GETFOCUS ) { if( rNEvt.GetWindow() == this ) { @@ -4336,7 +4336,7 @@ bool ToolBox::Notify( NotifyEvent& rNEvt ) return DockingWindow::Notify( rNEvt ); } } - else if( rNEvt.GetType() == EVENT_LOSEFOCUS ) + else if( rNEvt.GetType() == MouseNotifyEvent::LOSEFOCUS ) { // deselect ImplHideFocus(); -- cgit