From 83762575e18a307fb7e692613a1f7f6fc2e52c86 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Mon, 12 Jun 2023 21:12:37 +0900 Subject: [PATCH] [MSPAINT] Add (CS_HREDRAW | CS_VREDRAW) style to CCanvasWindow Reduce repainting defects. CORE-18867 --- base/applications/mspaint/canvas.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/applications/mspaint/canvas.h b/base/applications/mspaint/canvas.h index e884fa4df2a..4a41652adc0 100644 --- a/base/applications/mspaint/canvas.h +++ b/base/applications/mspaint/canvas.h @@ -11,7 +11,8 @@ class CCanvasWindow : public CWindowImpl { public: - DECLARE_WND_CLASS_EX(_T("ReactOSPaintCanvas"), CS_DBLCLKS, COLOR_APPWORKSPACE) + DECLARE_WND_CLASS_EX(_T("ReactOSPaintCanvas"), CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW, + COLOR_APPWORKSPACE) BEGIN_MSG_MAP(CCanvasWindow) MESSAGE_HANDLER(WM_SIZE, OnSize)