From aa710ea482ff90616361b9b548f0b868c9505943 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(+) 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