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 b205df61d1ef..d132469c63ed 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -86,7 +86,7 @@ void OpenGLWindow::Command( const CommandEvent& rCEvt )
if(rCEvt.GetCommand() == COMMAND_WHEEL)
{
const CommandWheelData* pData = rCEvt.GetWheelData();
- if(pData->GetMode() == COMMAND_WHEEL_SCROLL)
+ if(pData->GetMode() == CommandWheelMode::SCROLL)
{
long nDelta = pData->GetDelta();
mpRenderer->scroll(nDelta);