aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-01-24 10:21:42 +1100
committernyamatongwe <devnull@localhost>2012-01-24 10:21:42 +1100
commit84e30758dc2f722ee539d7ed256efe9e7b3c09cf (patch)
tree6194027a613ff21f2434d8958ed7d5189a3faec7
parenteed0408520e7d2b33d3574b9bcf17901fe8050ac (diff)
downloadscintilla-mirror-84e30758dc2f722ee539d7ed256efe9e7b3c09cf.tar.gz
Fix a bug where the selection margin was black when starting in wrap mode.
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 3 insertions, 0 deletions
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
}