diff options
Diffstat (limited to 'vcl/source/edit/vclmedit.cxx')
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 7314fa1386c9..0ec3741d03bc 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -1381,7 +1381,7 @@ void VclMultiLineEdit::Draw( OutputDevice* pDev, const Point& rPos, const Size& bool VclMultiLineEdit::Notify( NotifyEvent& rNEvt ) { bool nDone = false; - if( rNEvt.GetType() == EVENT_COMMAND ) + if( rNEvt.GetType() == MouseNotifyEvent::COMMAND ) { nDone = pImpVclMEdit->HandleCommand( *rNEvt.GetCommandEvent() ); } @@ -1392,7 +1392,7 @@ bool VclMultiLineEdit::PreNotify( NotifyEvent& rNEvt ) { bool nDone = false; - if( ( rNEvt.GetType() == EVENT_KEYINPUT ) && ( !GetTextView()->IsCursorEnabled() ) ) + if( ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) && ( !GetTextView()->IsCursorEnabled() ) ) { const KeyEvent& rKEvent = *rNEvt.GetKeyEvent(); if ( !rKEvent.GetKeyCode().IsShift() && ( rKEvent.GetKeyCode().GetGroup() == KEYGROUP_CURSOR ) ) |