aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-03 19:11:15 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-03 19:11:15 +0200
commit5fb8df682831045c4619b65403c4a24d7583d2e9 (patch)
treed84973aa41a6e7f5230a9510c467321e0dd88433 /c/datalistview.cpp
parentdf88618efb32274e7b21493c48483d4761d2f9a3 (diff)
downloadEpisodeBrowser-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.cpp4
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)