https://git.reactos.org/?p=reactos.git;a=commitdiff;h=96fba571e04cc37cdb12e…
commit 96fba571e04cc37cdb12e8d0b14645f02f753f6b
Author: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
AuthorDate: Mon Apr 29 11:05:35 2019 +0300
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Tue Aug 20 00:43:48 2019 +0200
[RAPPS] CDowloadingAppsListView: The download dialog doesn't use the layout engine
so there is no need for it to be a CUiWindow
---
base/applications/rapps/loaddlg.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/base/applications/rapps/loaddlg.cpp b/base/applications/rapps/loaddlg.cpp
index c4de1e29eec..f774d67f3dd 100644
--- a/base/applications/rapps/loaddlg.cpp
+++ b/base/applications/rapps/loaddlg.cpp
@@ -258,7 +258,7 @@ public:
};
class CDowloadingAppsListView
- : public CUiWindow<CListView>
+ : public CListView
{
public:
HWND Create(HWND hwndParent)
@@ -285,9 +285,8 @@ public:
VOID SetDownloadStatus(INT ItemIndex, DownloadStatus Status)
{
- HWND hListView = GetWindow();
ATL::CStringW szBuffer = LoadStatusString(Status);
- ListView_SetItemText(hListView, ItemIndex, 1,
const_cast<LPWSTR>(szBuffer.GetString()));
+ SetItemText(ItemIndex, 1, szBuffer.GetString());
}
BOOL AddItem(INT ItemIndex, LPWSTR lpText)