diff options
Diffstat (limited to 'c/listview.h')
-rw-r--r-- | c/listview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/listview.h b/c/listview.h index 30164f7..ba3a115 100644 --- a/c/listview.h +++ b/c/listview.h @@ -13,9 +13,9 @@ struct ListView ListView(Window& parent, HMENU hMenu, DWORD dwStyle); /* Retrieve next matching list view item. */ - bool FindNextItem(LVITEM* lvi, LPARAM lParam); + bool FindNextItem(LVITEM* lvi, LPARAM lParam) noexcept; /* Naively calculate height appropriate for number of items. */ - virtual int Height(); + virtual int Height() noexcept; /* Update column widths on window size change (unimplemented * by default). */ virtual void ResizeColumns(int w); @@ -26,7 +26,7 @@ protected: WNDPROC m_proc0; }; -inline bool ListView::FindNextItem(LVITEM* const lvi, const LPARAM lParam) +inline bool ListView::FindNextItem(LVITEM* const lvi, const LPARAM lParam) noexcept { if ((lvi->iItem = ListView_GetNextItem(hWnd, lvi->iItem, lParam)) == -1) return false; |