mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-15 22:11:39 -06:00
4.30 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
bcd1db2f5a
commit
e18587ba51
@@ -32,10 +32,10 @@ bool CListViewDialog::OnInit()
|
||||
|
||||
for(int i = 0; i < Strings.Size(); i++)
|
||||
{
|
||||
LVITEM item;
|
||||
LVITEMW item;
|
||||
item.mask = LVIF_TEXT;
|
||||
item.iItem = i;
|
||||
item.pszText = (LPTSTR)(LPCTSTR)Strings[i];
|
||||
item.pszText = (LPWSTR)(LPCWSTR)Strings[i];
|
||||
item.iSubItem = 0;
|
||||
_listView.InsertItem(&item);
|
||||
}
|
||||
|
||||
@@ -17,12 +17,11 @@ class CListViewDialog: public NWindows::NControl::CModalDialog
|
||||
public:
|
||||
UString Title;
|
||||
bool DeleteIsAllowed;
|
||||
CSysStringVector Strings;
|
||||
UStringVector Strings;
|
||||
bool StringsWereChanged;
|
||||
int FocusedItemIndex;
|
||||
|
||||
INT_PTR Create(HWND wndParent = 0)
|
||||
{ return CModalDialog::Create(MAKEINTRESOURCE(IDD_DIALOG_LISTVIEW), wndParent); }
|
||||
INT_PTR Create(HWND wndParent = 0) { return CModalDialog::Create(IDD_DIALOG_LISTVIEW, wndParent); }
|
||||
|
||||
CListViewDialog(): DeleteIsAllowed(false) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user