From b3a2e6dc2b30e188e49862da3ec7a00b44b6b188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 5 Jun 2016 13:15:36 +0000 Subject: [PATCH] [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 --- reactos/dll/win32/shell32/CDefView.cpp | 2 +- reactos/dll/win32/shell32/wine/control.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/shell32/CDefView.cpp b/reactos/dll/win32/shell32/CDefView.cpp index c6c35a79ce5..348a8cc3cc7 100644 --- a/reactos/dll/win32/shell32/CDefView.cpp +++ b/reactos/dll/win32/shell32/CDefView.cpp @@ -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; diff --git a/reactos/dll/win32/shell32/wine/control.c b/reactos/dll/win32/shell32/wine/control.c index 97464f9bf0e..56ca8a48c06 100644 --- a/reactos/dll/win32/shell32/wine/control.c +++ b/reactos/dll/win32/shell32/wine/control.c @@ -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