mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +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
|
||||
SubclassWindow(CToolbar::Create(hwndParent, tbStyles, tbExStyles));
|
||||
HWND toolbar = CToolbar::Create(hwndParent, tbStyles, tbExStyles);
|
||||
m_hWnd = NULL;
|
||||
SubclassWindow(toolbar);
|
||||
|
||||
SetWindowTheme(m_hWnd, L"", L"");
|
||||
|
||||
|
|
Loading…
Reference in a new issue