diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-03 19:11:15 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-03 19:11:15 +0200 |
commit | 5fb8df682831045c4619b65403c4a24d7583d2e9 (patch) | |
tree | d84973aa41a6e7f5230a9510c467321e0dd88433 /c/datalistview.cpp | |
parent | df88618efb32274e7b21493c48483d4761d2f9a3 (diff) | |
download | EpisodeBrowser-5fb8df682831045c4619b65403c4a24d7583d2e9.tar.gz |
Remove m_bHeader from ListView.
If it is relevant to add height for a header for a given list view, it
is better to override Height and do it there.
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 cdc6dfb..e6cc6ca 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -30,9 +30,9 @@ DataListView::DataListView(const HWND hWndParent) ListView_InsertColumn(hWnd, DLVSIVALUE, &lvc); } -int DataListView::Height(int bHeader) +int DataListView::Height() { - return m_height? m_height: ListView::Height(bHeader); + return m_height? m_height: ListView::Height(); } void DataListView::ResizeColumns(int w) |