mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 17:33:50 +08:00
[EXPLORER] Enable _DEBUG and fix assertion failures (#4306)
- Enable _DEBUG if debugging. - Fix assertion failures. CORE-18013
This commit is contained in:
committed by
GitHub
parent
c262020016
commit
d958950217
@@ -1231,8 +1231,10 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
|
||||
TBSTYLE_FLAT | TBSTYLE_TOOLTIPS | TBSTYLE_WRAPABLE | TBSTYLE_TRANSPARENT |
|
||||
CCS_TOP | CCS_NORESIZE | CCS_NOPARENTALIGN | CCS_NODIVIDER;
|
||||
|
||||
// HACK & FIXME: CORE-17505
|
||||
SubclassWindow(CToolbar::Create(hWndParent, styles));
|
||||
// HACK & FIXME: CORE-18016
|
||||
HWND hwnd = CToolbar::Create(hWndParent, styles);
|
||||
m_hWnd = NULL;
|
||||
SubclassWindow(hwnd);
|
||||
|
||||
// Force the toolbar tooltips window to always show tooltips even if not foreground
|
||||
HWND tooltipsWnd = (HWND)SendMessageW(TB_GETTOOLTIPS);
|
||||
|
||||
Reference in New Issue
Block a user