mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
[RSHELL]
* CMenuBand: Refcount before assigning a return pointer. * CMenuDeskBar: Revert change and protect the refcounting in case I was wrong to assume there will be exactly one OnFinalMessage for each OnCreate. * CMenuToolbars: Add a debug message. * CStartMenu: Refcount correctly. svn path=/branches/shell-experiments/; revision=65088
This commit is contained in:
@@ -262,16 +262,13 @@ public:
|
||||
IBandSite* pBandSite,
|
||||
IDeskBar* pDeskBar)
|
||||
{
|
||||
m_pShellMenu.Attach(pShellMenu);
|
||||
m_pBandSite.Attach(pBandSite);
|
||||
m_pDeskBar.Attach(pDeskBar);
|
||||
m_pShellMenu = pShellMenu;
|
||||
m_pBandSite = pBandSite;
|
||||
m_pDeskBar = pDeskBar;
|
||||
}
|
||||
|
||||
~CShellMenuCallback()
|
||||
{
|
||||
m_pShellMenu.Release();
|
||||
m_pBandSite.Release();
|
||||
m_pDeskBar.Release();
|
||||
}
|
||||
|
||||
HRESULT _SetProgramsFolder(IShellFolder * psf, LPITEMIDLIST pidl)
|
||||
|
||||
Reference in New Issue
Block a user