aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp
index 517a055..eace820 100644
--- a/c/datalistview.cpp
+++ b/c/datalistview.cpp
@@ -18,13 +18,13 @@ DataListView::DataListView(const HWND hWndParent)
lvc.mask = LVCF_WIDTH|LVCF_TEXT|LVCF_SUBITEM;
lvc.iSubItem = DLVSIKEY;
- lvc.pszText = TEXT("Key");
+ lvc.pszText = (TCHAR*)TEXT("Key");
lvc.cx = Dpi(42);
ListView_InsertColumn(hWnd, DLVSIKEY, &lvc);
lvc.iSubItem = DLVSIVALUE;
- lvc.pszText = TEXT("Value");
+ lvc.pszText = (TCHAR*)TEXT("Value");
lvc.cx = 500;
ListView_InsertColumn(hWnd, DLVSIVALUE, &lvc);
}