mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 00:46:10 +08:00
Fix some assertions now that they are enabled (#3524)
Fix some assertions, hack out some others (they need more ATL work). CORE-17505
This commit is contained in:
@@ -1231,7 +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;
|
||||
|
||||
SubclassWindow(CToolbar::Create(hWndParent, styles));
|
||||
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);
|
||||
|
||||
// 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