mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[SHELL32] Fix assertion failure in CMenuToolbars
CORE-17505
This commit is contained in:
@@ -403,7 +403,9 @@ HRESULT CMenuToolbarBase::CreateToolbar(HWND hwndParent, DWORD dwFlags)
|
||||
}
|
||||
|
||||
// HACK & FIXME: CORE-17505
|
||||
SubclassWindow(CToolbar::Create(hwndParent, tbStyles, tbExStyles));
|
||||
HWND toolbar = CToolbar::Create(hwndParent, tbStyles, tbExStyles);
|
||||
m_hWnd = NULL;
|
||||
SubclassWindow(toolbar);
|
||||
|
||||
SetWindowTheme(m_hWnd, L"", L"");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user