mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[ATL][SHELL32][EXPLORER] Disable ATLASSERT (#3527)
We are not ready for enabling ATLASSERT. Enabling ATL assertions takes time to realize. CORE-17505 - Disable ATLASSERT by undefining _DEBUG. - Revert currently non-fixable codes.
This commit is contained in:
committed by
GitHub
parent
4583eae4f7
commit
9259ded8ae
@@ -1231,10 +1231,8 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
|
||||
TBSTYLE_FLAT | TBSTYLE_TOOLTIPS | TBSTYLE_WRAPABLE | TBSTYLE_TRANSPARENT |
|
||||
CCS_TOP | CCS_NORESIZE | CCS_NOPARENTALIGN | CCS_NODIVIDER;
|
||||
|
||||
HWND toolbar = CToolbar::Create(hWndParent, styles);
|
||||
//HACK: We have not created this toolbar properly, so we need to subclass it now!
|
||||
m_hWnd = NULL;
|
||||
SubclassWindow(toolbar);
|
||||
// HACK & FIXME: CORE-17505
|
||||
SubclassWindow(CToolbar::Create(hWndParent, styles));
|
||||
|
||||
// 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