[RAPPS] CDowloadingAppsListView: The download dialog doesn't use the layout engine so there is no need for it to be a CUiWindow

This commit is contained in:
Giannis Adamopoulos 2019-04-29 11:05:35 +03:00 committed by Mark Jansen
parent 653894b972
commit 96fba571e0
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View 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)