[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
This commit is contained in:
Katayama Hirofumi MZ 2023-03-11 07:42:04 +09:00 committed by GitHub
parent 784946db8c
commit 86e2f9e635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)