From 00447478cd1d0d64752114df49fee5ee8bdcedbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 2 Sep 2022 23:51:40 +0200 Subject: Add Act. --- c/listview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/listview.cpp') 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(g_hfNormal), MAKELPARAM(FALSE, 0)); } -int ListView::Height() +int ListView::Height() noexcept { const int cItem = ListView_GetItemCount(hWnd); return Dpi(4)+cItem*Dpi(19); -- cgit v1.2.3