summaryrefslogtreecommitdiff
path: root/vcl/source/window/paint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/paint.cxx')
-rw-r--r--vcl/source/window/paint.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 4cdaf36f805d..c22c5b1548a6 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1168,10 +1168,10 @@ void Window::Erase()
if( aCtrlPart != 0 && ! IsControlBackground() )
{
Rectangle aCtrlRegion( Point(), GetOutputSizePixel() );
- ControlState nState = 0;
+ ControlState nState = ControlState::NONE;
if( IsEnabled() )
- nState |= CTRL_STATE_ENABLED;
+ nState |= ControlState::ENABLED;
bNativeOK = DrawNativeControl( CTRL_WINDOW_BACKGROUND, aCtrlPart, aCtrlRegion,
nState, ImplControlValue(), OUString() );