summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/table/tabledatawindow.cxx2
-rw-r--r--toolkit/source/hatchwindow/ipwin.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/table/tabledatawindow.cxx b/toolkit/source/controls/table/tabledatawindow.cxx
index 46c742e3c472..fc49ee08d621 100644
--- a/toolkit/source/controls/table/tabledatawindow.cxx
+++ b/toolkit/source/controls/table/tabledatawindow.cxx
@@ -180,7 +180,7 @@ namespace svt::table
bool TableDataWindow::EventNotify(NotifyEvent& rNEvt )
{
bool bDone = false;
- if ( rNEvt.GetType() == MouseNotifyEvent::COMMAND )
+ if ( rNEvt.GetType() == NotifyEventType::COMMAND )
{
const CommandEvent& rCEvt = *rNEvt.GetCommandEvent();
if ( rCEvt.GetCommand() == CommandEventId::Wheel )
diff --git a/toolkit/source/hatchwindow/ipwin.cxx b/toolkit/source/hatchwindow/ipwin.cxx
index 140fd95bda91..d21e94166c7c 100644
--- a/toolkit/source/hatchwindow/ipwin.cxx
+++ b/toolkit/source/hatchwindow/ipwin.cxx
@@ -596,7 +596,7 @@ void SvResizeWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rect
bool SvResizeWindow::PreNotify( NotifyEvent& rEvt )
{
- if ( rEvt.GetType() == MouseNotifyEvent::GETFOCUS && !m_bActive )
+ if ( rEvt.GetType() == NotifyEventType::GETFOCUS && !m_bActive )
{
m_bActive = true;
m_pWrapper->Activated();
@@ -607,7 +607,7 @@ bool SvResizeWindow::PreNotify( NotifyEvent& rEvt )
bool SvResizeWindow::EventNotify( NotifyEvent& rEvt )
{
- if ( rEvt.GetType() == MouseNotifyEvent::LOSEFOCUS && m_bActive )
+ if ( rEvt.GetType() == NotifyEventType::LOSEFOCUS && m_bActive )
{
bool bHasFocus = HasChildPathFocus(true);
if ( !bHasFocus )