mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:43:01 +00:00
[SHELL32] Fix assertion failure in CMenuToolbars
CORE-17505
This commit is contained in:
parent
99a6667bd9
commit
974a0f03df
1 changed files with 3 additions and 1 deletions
|
@ -403,7 +403,9 @@ HRESULT CMenuToolbarBase::CreateToolbar(HWND hwndParent, DWORD dwFlags)
|
||||||
}
|
}
|
||||||
|
|
||||||
// HACK & FIXME: CORE-17505
|
// 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"");
|
SetWindowTheme(m_hWnd, L"", L"");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue