Author: hbelusca Date: Sun Jun 5 13:15:36 2016 New Revision: 71531
URL: http://svn.reactos.org/svn/reactos?rev=71531&view=rev Log: [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".
Modified: trunk/reactos/dll/win32/shell32/CDefView.cpp trunk/reactos/dll/win32/shell32/wine/control.c
Modified: trunk/reactos/dll/win32/shell32/CDefView.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefView.... ============================================================================== --- trunk/reactos/dll/win32/shell32/CDefView.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/CDefView.cpp [iso-8859-1] Sun Jun 5 13:15:36 2016 @@ -558,7 +558,7 @@ 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;
Modified: trunk/reactos/dll/win32/shell32/wine/control.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/wine/cont... ============================================================================== --- trunk/reactos/dll/win32/shell32/wine/control.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/wine/control.c [iso-8859-1] Sun Jun 5 13:15:36 2016 @@ -112,7 +112,7 @@ */ 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