[SHELL32] Follow up of #1085 (#1088)

CORE-10481
This commit is contained in:
Katayama Hirofumi MZ 2018-12-03 05:38:36 +09:00 committed by GitHub
parent 3fd2deefac
commit 623b2e153e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ class CStubWindow32 : public CWindowImpl<CStubWindow32>
public:
DECLARE_WND_CLASS_EX(_T("StubWindow32"), 0, COLOR_WINDOWTEXT)
BEGIN_MSG_MAP(CPaletteWindow)
BEGIN_MSG_MAP(CStubWindow32)
END_MSG_MAP()
};
@ -119,7 +119,10 @@ SH_ShowPropertiesDialog(LPCWSTR pwszPath, LPCITEMIDLIST pidlFolder, PCUITEMID_CH
DWORD exstyle = WS_EX_WINDOWEDGE | WS_EX_APPWINDOW;
CStubWindow32 stub;
if (!stub.Create(NULL, NULL, NULL, style, exstyle))
{
ERR("StubWindow32 creation failed\n");
return E_FAIL;
}
/* Handle files and folders */
PROPSHEETHEADERW Header;