diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-26 03:17:09 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-26 03:17:09 +0200 |
commit | eb7709d8617bec27349eebb43e8941b3aaaf453e (patch) | |
tree | 7c8627586ed18132b0304b779a00d8acc61e7a0d /c/episodelistview.cpp | |
parent | a9a74875dbd5340b6f3ea6d8b6f66a04b360b22a (diff) | |
download | EpisodeBrowser-eb7709d8617bec27349eebb43e8941b3aaaf453e.tar.gz |
Use FunctionW names explicitly instead of macros.
It's uglier, but it makes Visual Studio show better tooltips.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r-- | c/episodelistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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, |