[EXPLORER] Enable _DEBUG and fix assertion failures (#4306)

- Enable _DEBUG if debugging.
- Fix assertion failures.
CORE-18013
This commit is contained in:
Katayama Hirofumi MZ 2022-01-24 10:26:13 +09:00 committed by GitHub
parent c262020016
commit d958950217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 8 deletions

View file

@ -285,9 +285,10 @@ public:
TBSTYLE_TOOLTIPS | TBSTYLE_WRAPABLE | TBSTYLE_LIST | TBSTYLE_TRANSPARENT |
CCS_TOP | CCS_NORESIZE | CCS_NODIVIDER;
// HACK & FIXME: CORE-18016
HWND toolbar = CToolbar::Create(hWndParent, styles);
SetDrawTextFlags(DT_NOPREFIX, DT_NOPREFIX);
// HACK & FIXME: CORE-17505
m_hWnd = NULL;
return SubclassWindow(toolbar);
}
};