From eb7709d8617bec27349eebb43e8941b3aaaf453e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 26 Aug 2022 03:17:09 +0200 Subject: Use FunctionW names explicitly instead of macros. It's uglier, but it makes Visual Studio show better tooltips. --- c/episodelistview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/episodelistview.cpp') diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp index 8185b51..071fbce 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -387,7 +387,7 @@ void EpisodeListView::Update() LVITEM lviEpisode = {LVIF_TEXT|LVIF_PARAM}; /* Retrieve episode data and add list view items. */ - SendMessage(hWnd, WM_SETREDRAW, FALSE, 0); + SendMessageW(hWnd, WM_SETREDRAW, FALSE, 0); ListView_DeleteAllItems(hWnd); for (int iEp = 1; iEp <= g_cfg.cEp; iEp++) { ElvDataA e = g_fvElv.At(iEp-1); @@ -461,7 +461,7 @@ void EpisodeListView::Update() SetTop(iItemTopNew); } - SendMessage(hWnd, WM_SETREDRAW, TRUE, 0); + SendMessageW(hWnd, WM_SETREDRAW, TRUE, 0); } LRESULT CALLBACK EpisodeListView::WndProc(const HWND hWnd, const UINT uMsg, -- cgit v1.2.3