mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[SHELL32] Properly destroy window
This commit is contained in:
@@ -246,7 +246,8 @@ HRESULT STDMETHODCALLTYPE CMenuSite::SetDeskBarSite(IUnknown *punkSite)
|
||||
m_DeskBand = NULL;
|
||||
m_WinEventHandler = NULL;
|
||||
m_hWndBand = NULL;
|
||||
m_hWnd = NULL;
|
||||
if (m_hWnd)
|
||||
DestroyWindow();
|
||||
m_DeskBarSite = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user