aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 52473bfa6..876fa5746 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -2007,13 +2007,12 @@ sptr_t ScintillaWin::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
#if defined(USE_D2D)
if (technology != Technology::Default) {
UpdateRenderingParams(true);
- Redraw();
}
#endif
UpdateBaseElements();
- InvalidateStyleData();
// Get Intellimouse scroll line parameters
GetIntelliMouseParameters();
+ InvalidateStyleRedraw();
break;
case WM_GETDLGCODE: