summaryrefslogtreecommitdiff
path: root/vcl/source/control/imgctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-21 15:52:27 +0200
committerNoel Grandin <noel@peralex.com>2015-05-22 10:37:59 +0200
commit566922a98d548529feacb7c21bfc8897ff5b61af (patch)
treee55a4b26ac5b32d842efbc9d9e6dc5576b226005 /vcl/source/control/imgctrl.cxx
parent321b34419160da6829e30fc67f3d107fcb936390 (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.cxx6
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: */