mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SHELL32] Properly destroy window
This commit is contained in:
parent
a6b8d4f6f0
commit
d0ba8fd4a3
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,8 @@ HRESULT STDMETHODCALLTYPE CMenuSite::SetDeskBarSite(IUnknown *punkSite)
|
||||||
m_DeskBand = NULL;
|
m_DeskBand = NULL;
|
||||||
m_WinEventHandler = NULL;
|
m_WinEventHandler = NULL;
|
||||||
m_hWndBand = NULL;
|
m_hWndBand = NULL;
|
||||||
m_hWnd = NULL;
|
if (m_hWnd)
|
||||||
|
DestroyWindow();
|
||||||
m_DeskBarSite = NULL;
|
m_DeskBarSite = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue