https://git.reactos.org/?p=reactos.git;a=commitdiff;h=83762575e18a307fb7e69…
commit 83762575e18a307fb7e692613a1f7f6fc2e52c86
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Jun 12 21:12:37 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Jun 12 21:12:37 2023 +0900
[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<CCanvasWindow>
{
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)