diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-16 01:00:20 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-16 01:00:20 +0200 |
commit | 84c3dd3587e219caa80adc2070f0e9fe004c27bc (patch) | |
tree | e73b7367e8a44dba66498ae7dc244cf49b269897 /c/datalistview.cpp | |
parent | 70928745565b01f3fae0e32ea007266aa2e1edc5 (diff) | |
download | EpisodeBrowser-84c3dd3587e219caa80adc2070f0e9fe004c27bc.tar.gz |
Add m_hWndParent to ListView.
This avoids g_hWnd.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r-- | c/datalistview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp index b730993..2920c0c 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -12,7 +12,8 @@ extern EpisodeListView *g_lpElv; -DataListView::DataListView() : ListView((HMENU)IDC_DATALISTVIEW, LVS_NOCOLUMNHEADER) +DataListView::DataListView(HWND hWndParent) + : ListView(hWndParent, (HMENU)IDC_DATALISTVIEW, LVS_NOCOLUMNHEADER) { LVCOLUMN lvc; |