switch L"" to TEXT("")

This commit is contained in:
freedom7341
2023-10-10 16:31:06 -06:00
parent c43c176538
commit 1ed794d640
7 changed files with 35 additions and 31 deletions

View File

@@ -173,10 +173,10 @@ HWND CreateListView(HWND hWndParent, RECT rc)
{
HWND hWndListView;
LVITEM lviTestItem;
WCHAR szTestItem[] = L"Test Item";
WCHAR szTestItem[] = TEXT("Test Item");
// Create the ListView
hWndListView = CreateWindowEx(WS_EX_LEFT, WC_LISTVIEW, L"",
hWndListView = CreateWindowEx(WS_EX_LEFT, WC_LISTVIEW, TEXT(""),
WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN |
LVS_ICON | LVS_SINGLESEL,
rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top,