diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-21 15:52:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-22 10:37:59 +0200 |
commit | 566922a98d548529feacb7c21bfc8897ff5b61af (patch) | |
tree | e55a4b26ac5b32d842efbc9d9e6dc5576b226005 /vcl/source/control/imgctrl.cxx | |
parent | 321b34419160da6829e30fc67f3d107fcb936390 (diff) |
convert WINDOW constants for GetWindow() methods to scoped enum
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33
Diffstat (limited to 'vcl/source/control/imgctrl.cxx')
-rw-r--r-- | vcl/source/control/imgctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx index 6da20c0cde53..8d9a5cbddff1 100644 --- a/vcl/source/control/imgctrl.cxx +++ b/vcl/source/control/imgctrl.cxx @@ -137,7 +137,7 @@ void ImageControl::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /* if (HasFocus()) { - vcl::Window* pBorderWindow = GetWindow(WINDOW_BORDER); + vcl::Window* pBorderWindow = GetWindow(GetWindowType::Border); bool bFlat = (GetBorderStyle() == WindowBorderStyle::MONO); Rectangle aRect(Point(0,0), pBorderWindow->GetOutputSizePixel()); @@ -180,13 +180,13 @@ void ImageControl::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSiz void ImageControl::GetFocus() { FixedImage::GetFocus(); - GetWindow( WINDOW_BORDER )->Invalidate(); + GetWindow( GetWindowType::Border )->Invalidate(); } void ImageControl::LoseFocus() { FixedImage::GetFocus(); - GetWindow( WINDOW_BORDER )->Invalidate(); + GetWindow( GetWindowType::Border )->Invalidate(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |