mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
protect system image list
svn path=/branches/lean-explorer/; revision=14473
This commit is contained in:
parent
89e885955c
commit
0341aa671d
1 changed files with 3 additions and 1 deletions
|
@ -69,6 +69,8 @@ ShellBrowserChild::ShellBrowserChild(HWND hwnd, HWND left_hwnd, WindowHandle& ri
|
|||
|
||||
ShellBrowserChild::~ShellBrowserChild()
|
||||
{
|
||||
TreeView_SetImageList(_left_hwnd, 0, TVSIL_NORMAL);
|
||||
|
||||
if (_pShellView)
|
||||
_pShellView->Release();
|
||||
|
||||
|
@ -102,7 +104,7 @@ LRESULT ShellBrowserChild::Init(HWND hWndFrame)
|
|||
InitDragDrop();
|
||||
}
|
||||
|
||||
const String& root_name = GetDesktopFolder().get_name(_create_info._root_shell_path, SHGDN_FORPARSING);
|
||||
const String& root_name = GetDesktopFolder().get_name(_create_info._root_shell_path, SHGDN_FORADDRESSBAR);
|
||||
|
||||
_root._drive_type = DRIVE_UNKNOWN;
|
||||
lstrcpy(_root._volname, root_name);
|
||||
|
|
Loading…
Reference in a new issue