[SHELL32]

- Use #ifdef __REACTOS__ instead of the #if (as done elsewhere in the code).
- The listview control hosted in a shelldll_defview has its caption named "FolderView".

svn path=/trunk/; revision=71531
This commit is contained in:
Hermès Bélusca-Maïto 2016-06-05 13:15:36 +00:00
parent 5e01926bf5
commit b3a2e6dc2b
2 changed files with 2 additions and 2 deletions

View file

@ -558,7 +558,7 @@ BOOL CDefView::CreateList()
dwExStyle &= ~WS_EX_CLIENTEDGE;
RECT rcListView = {0,0,0,0};
m_ListView.Create(m_hWnd, rcListView, NULL,dwStyle, dwExStyle, ID_LISTVIEW);
m_ListView.Create(m_hWnd, rcListView, L"FolderView", dwStyle, dwExStyle, ID_LISTVIEW);
if (!m_ListView)
return FALSE;

View file

@ -112,7 +112,7 @@ CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel)
*/
applet->proc(hWnd, CPL_INQUIRE, i, (LPARAM)&info);
applet->info[i].data = info.lData;
#if __REACTOS__
#ifdef __REACTOS__
applet->info[i].idIcon = info.idIcon;
#endif