aboutsummaryrefslogtreecommitdiff
path: root/c/listview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 23:51:40 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 23:51:40 +0200
commit00447478cd1d0d64752114df49fee5ee8bdcedbe (patch)
treeca1168b19ab977c1857d3a3e341a3e80b33cc6d3 /c/listview.cpp
parentff9ba3f6e60fa30f52dd94e48214be5e1be1b28a (diff)
downloadEpisodeBrowser-00447478cd1d0d64752114df49fee5ee8bdcedbe.tar.gz
Add Act.
Diffstat (limited to 'c/listview.cpp')
-rw-r--r--c/listview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/listview.cpp b/c/listview.cpp
index 03a65ae..b638f7b 100644
--- a/c/listview.cpp
+++ b/c/listview.cpp
@@ -29,7 +29,7 @@ ListView::ListView(Window& parent, const HMENU hMenu, const DWORD dwStyle) : par
SendMessageW(hWnd, WM_SETFONT, reinterpret_cast<WPARAM>(g_hfNormal), MAKELPARAM(FALSE, 0));
}
-int ListView::Height()
+int ListView::Height() noexcept
{
const int cItem = ListView_GetItemCount(hWnd);
return Dpi(4)+cItem*Dpi(19);