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/listview.h | |
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/listview.h')
-rw-r--r-- | c/listview.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c/listview.h b/c/listview.h index c812cd8..1de6cc1 100644 --- a/c/listview.h +++ b/c/listview.h @@ -10,12 +10,11 @@ struct ListView ListView(HWND hWndParent, HMENU hMenu, DWORD dwStyle); bool FindNextItem(LVITEM* lvi, LPARAM lParam); - virtual int Height(int bHeader = -1); + virtual int Height(); virtual void ResizeColumns(int w); virtual void UpdateTheme(BOOL bThemeActive); virtual LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); protected: - int m_bHeader = 1; WNDPROC m_proc0; HWND m_hWndParent; }; |