From 84e30758dc2f722ee539d7ed256efe9e7b3c09cf Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 24 Jan 2012 10:21:42 +1100 Subject: Fix a bug where the selection margin was black when starting in wrap mode. --- win32/ScintillaWin.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 35f2044fc..92dd32ffc 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -435,6 +435,9 @@ void ScintillaWin::EnsureRenderTarget() { D2D1::HwndRenderTargetProperties(hw, size), &pRenderTarget); #endif + // Pixmaps were created to be compatible with previous render target so + // need to be recreated. + DropGraphics(false); } #endif } -- cgit v1.2.3