diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basicbox.cxx | 12 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx index 79a60e89a212..9735c597bf01 100644 --- a/basctl/source/basicide/basicbox.cxx +++ b/basctl/source/basicide/basicbox.cxx @@ -257,7 +257,7 @@ void LibBox::InsertEntries( const ScriptDocument& rDocument, LibraryLocation eLo bool LibBox::PreNotify( NotifyEvent& rNEvt ) { bool nDone = false; - if( rNEvt.GetType() == EVENT_KEYINPUT ) + if( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { KeyEvent aKeyEvt = *rNEvt.GetKeyEvent(); sal_uInt16 nKeyCode = aKeyEvt.GetKeyCode().GetCode(); @@ -279,7 +279,7 @@ bool LibBox::PreNotify( NotifyEvent& rNEvt ) break; } } - else if( rNEvt.GetType() == EVENT_GETFOCUS ) + else if( rNEvt.GetType() == MouseNotifyEvent::GETFOCUS ) { if ( bFillBox ) { @@ -287,7 +287,7 @@ bool LibBox::PreNotify( NotifyEvent& rNEvt ) bFillBox = false; } } - else if( rNEvt.GetType() == EVENT_LOSEFOCUS ) + else if( rNEvt.GetType() == MouseNotifyEvent::LOSEFOCUS ) { if ( !HasChildPathFocus(true) ) { @@ -475,7 +475,7 @@ void LanguageBox::Select() bool LanguageBox::PreNotify( NotifyEvent& rNEvt ) { bool nDone = false; - if( rNEvt.GetType() == EVENT_KEYINPUT ) + if( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { sal_uInt16 nKeyCode = rNEvt.GetKeyEvent()->GetKeyCode().GetCode(); switch( nKeyCode ) @@ -495,10 +495,10 @@ bool LanguageBox::PreNotify( NotifyEvent& rNEvt ) break; } } - else if( rNEvt.GetType() == EVENT_GETFOCUS ) + else if( rNEvt.GetType() == MouseNotifyEvent::GETFOCUS ) { } - else if( rNEvt.GetType() == EVENT_LOSEFOCUS ) + else if( rNEvt.GetType() == MouseNotifyEvent::LOSEFOCUS ) { } diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 23b03e0dd61b..e1733e16811f 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2776,7 +2776,7 @@ void CodeCompleteListBox::KeyInput( const KeyEvent& rKeyEvt ) InsertSelectedEntry(); break; case KEY_UP: case KEY_DOWN: - NotifyEvent nEvt( EVENT_KEYINPUT, NULL, &rKeyEvt ); + NotifyEvent nEvt( MouseNotifyEvent::KEYINPUT, NULL, &rKeyEvt ); PreNotify(nEvt); break; } diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 169902a2896c..d0b9fe605b4c 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -112,7 +112,7 @@ bool BaseWindow::Notify( NotifyEvent& rNEvt ) { bool nDone = false; - if ( rNEvt.GetType() == EVENT_KEYINPUT ) + if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { KeyEvent aKEvt = *rNEvt.GetKeyEvent(); vcl::KeyCode aCode = aKEvt.GetKeyCode(); |