diff options
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 7d51ab3d1582..6ad9c21822fe 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -3622,7 +3622,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt ) if ( mnCurPos != TOOLBOX_ITEM_NOTFOUND ) { InvalidateItem(mnCurPos); - CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( mnCurPos ) ); + CallEventListeners( VclEventId::ToolboxHighlightOff, reinterpret_cast< void* >( mnCurPos ) ); } mnCurPos = nNewPos; @@ -3719,7 +3719,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt ) ImplHideFocus(); sal_uInt16 nPos = GetItemPos( mnHighItemId ); InvalidateItem(nPos); - CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nPos ) ); + CallEventListeners( VclEventId::ToolboxHighlightOff, reinterpret_cast< void* >( nPos ) ); } if ( mpData->mbMenubuttonSelected ) { @@ -3729,7 +3729,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt ) mnHighItemId = it->mnId; InvalidateItem(nTempPos); ImplShowFocus(); - CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT ); + CallEventListeners( VclEventId::ToolboxHighlight ); } } } @@ -3757,7 +3757,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt ) { InvalidateItem(nClearPos); if( nClearPos != mnCurPos ) - CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nClearPos ) ); + CallEventListeners( VclEventId::ToolboxHighlightOff, reinterpret_cast< void* >( nClearPos ) ); } ImplHideFocus(); mnHighItemId = 0; @@ -5358,7 +5358,7 @@ void ToolBox::ImplChangeHighlight( ImplToolItem* pItem, bool bNoGrabFocus ) // set mnHighItemId to 0 already to prevent this hen/egg problem mnHighItemId = 0; InvalidateItem(nPos); - CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nPos ) ); + CallEventListeners( VclEventId::ToolboxHighlightOff, reinterpret_cast< void* >( nPos ) ); } if( !bNoGrabFocus && pItem != pOldItem && pOldItem && pOldItem->mpWindow ) @@ -5401,7 +5401,7 @@ void ToolBox::ImplChangeHighlight( ImplToolItem* pItem, bool bNoGrabFocus ) if( pItem->mpWindow ) pItem->mpWindow->GrabFocus(); if( pItem != pOldItem ) - CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT ); + CallEventListeners( VclEventId::ToolboxHighlight ); } } else |