diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-27 16:09:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-28 12:47:08 +0200 |
commit | f3331f7694e74f349375c223ce7ed84838e92d89 (patch) | |
tree | ef238fa98153c756df201d26d15e0602638298cc /vcl/source/opengl | |
parent | 173aa749d50f904887e4aa1ce425c6807668bff0 (diff) |
convert PARENTCLIPMODE constants to scoped enum
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 9beed939d8ef..ef6e1ac4d311 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -1088,7 +1088,7 @@ bool OpenGLContext::initWindow() if( m_pChildWindow ) { m_pChildWindow->SetMouseTransparent( true ); - m_pChildWindow->SetParentClipMode(PARENTCLIPMODE_CLIP); + m_pChildWindow->SetParentClipMode(ParentClipMode::Clip); m_pChildWindow->EnableEraseBackground( false ); m_pChildWindow->SetControlForeground(); m_pChildWindow->SetControlBackground(); @@ -1115,7 +1115,7 @@ bool OpenGLContext::initWindow() if( m_pChildWindow ) { m_pChildWindow->SetMouseTransparent( true ); - m_pChildWindow->SetParentClipMode(PARENTCLIPMODE_CLIP); + m_pChildWindow->SetParentClipMode(ParentClipMode::Clip); m_pChildWindow->EnableEraseBackground( false ); m_pChildWindow->SetControlForeground(); m_pChildWindow->SetControlBackground(); @@ -1152,7 +1152,7 @@ bool OpenGLContext::initWindow() return false; m_pChildWindow->SetMouseTransparent( true ); - m_pChildWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP ); + m_pChildWindow->SetParentClipMode( ParentClipMode::NoClip ); m_pChildWindow->EnableEraseBackground( false ); m_pChildWindow->SetControlForeground(); m_pChildWindow->SetControlBackground(); |