diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-19 14:50:00 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-19 14:50:00 +0200 |
commit | bc6d9cdf289af9167912329f1c5f4e39bd6bac29 (patch) | |
tree | 27c5c0f75bd631f0ddf32feddb13d14ad8bf1b1d /c/datalistview.cpp | |
parent | 2ffbd7fcc178e68e7132d2f8f649d131c5a5d3af (diff) | |
download | EpisodeBrowser-bc6d9cdf289af9167912329f1c5f4e39bd6bac29.tar.gz |
Use static member function instead of friend function.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r-- | c/datalistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp index 704b689..517a055 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -11,8 +11,6 @@ #include "main.h" #include "pl.h" -extern EpisodeListView* const g_pElv; - DataListView::DataListView(const HWND hWndParent) : ListView(hWndParent, (HMENU)IDC_DATALISTVIEW, LVS_NOCOLUMNHEADER) { @@ -33,6 +31,8 @@ DataListView::DataListView(const HWND hWndParent) void DataListView::ShowEpisode(const int iEpisode) { + extern EpisodeListView* const g_pElv; + ListView_DeleteAllItems(hWnd); LVITEM lviKey, lviValue; |