summaryrefslogtreecommitdiff
path: root/vcl/source/window/openglwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/openglwin.cxx')
-rw-r--r--vcl/source/window/openglwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index 6111cbca0a1a..30094e439b5d 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -91,7 +91,7 @@ void OpenGLWindow::Command( const CommandEvent& rCEvt )
if(!mpRenderer)
return;
- if(rCEvt.GetCommand() == COMMAND_WHEEL)
+ if(rCEvt.GetCommand() == CommandEventId::Wheel)
{
const CommandWheelData* pData = rCEvt.GetWheelData();
if(pData->GetMode() == CommandWheelMode::SCROLL)