aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/PlatWin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 110f26421..b363fbda9 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -633,7 +633,9 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, ColourAllocated
::DeleteObject(hbmMem);
::DeleteObject(hMemDC);
} else {
- RectangleDraw(rc, outline, fill);
+ BrushColor(outline);
+ RECT rcw = RectFromPRectangle(rc);
+ FrameRect(hdc, &rcw, brush);
}
}