[ATL][SHELL32][EXPLORER] Disable ATLASSERT (#3527)

We are not ready for enabling ATLASSERT. Enabling ATL assertions takes time to realize. CORE-17505
- Disable ATLASSERT by undefining _DEBUG.
- Revert currently non-fixable codes.
This commit is contained in:
Katayama Hirofumi MZ 2021-03-11 20:26:45 +09:00 committed by GitHub
parent 4583eae4f7
commit 9259ded8ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 12 deletions

View file

@ -398,7 +398,8 @@ HRESULT CMenuToolbarBase::CreateToolbar(HWND hwndParent, DWORD dwFlags)
rc.bottom = 1;
}
CToolbar::Create(hwndParent, tbStyles, tbExStyles);
// HACK & FIXME: CORE-17505
SubclassWindow(CToolbar::Create(hwndParent, tbStyles, tbExStyles));
SetWindowTheme(m_hWnd, L"", L"");