https://git.reactos.org/?p=reactos.git;a=commitdiff;h=86e2f9e635b82c49002b1e522e83facbeeaec373
commit 86e2f9e635b82c49002b1e522e83facbeeaec373 Author: Katayama Hirofumi MZ <[email protected]> AuthorDate: Sat Mar 11 07:42:04 2023 +0900 Commit: GitHub <[email protected]> CommitDate: Sat Mar 11 07:42:04 2023 +0900 [MSPAINT] There were two "main" windows (#5147) Our mspaint had two windows of window class "MainWindow". class CToolBox should inherit CWindowImpl<CToolBox> instead of CWindowImpl<CMainWindow>. CORE-18867 --- base/applications/mspaint/toolbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/applications/mspaint/toolbox.h b/base/applications/mspaint/toolbox.h index 772ff2df1e2..f7cdfc91288 100644 --- a/base/applications/mspaint/toolbox.h +++ b/base/applications/mspaint/toolbox.h @@ -9,7 +9,7 @@ #pragma once -class CToolBox : public CWindowImpl<CMainWindow> +class CToolBox : public CWindowImpl<CToolBox> { public: DECLARE_WND_CLASS_EX(_T("ToolBox"), CS_DBLCLKS, COLOR_BTNFACE)
