[RAPPS] CDowloadingAppsListView: The download dialog doesn't use the layout engine...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 29 Apr 2019 08:05:35 +0000 (11:05 +0300)
committerMark Jansen <mark.jansen@reactos.org>
Mon, 19 Aug 2019 22:43:48 +0000 (00:43 +0200)
base/applications/rapps/loaddlg.cpp

index c4de1e2..f774d67 100644 (file)
@@ -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)