From cf8707bf2ede99d8543d806355eee088bdc1376b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 6 Aug 2022 01:21:08 +0200 Subject: Use typedefs when interacting with Win32 API. It's not like they're ever going to change the definition of WORD (knock on wood) -- but I guess it's proper to use them as if their definitions might change. --- c/listview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/listview.h') diff --git a/c/listview.h b/c/listview.h index 008f995..b0e49ee 100644 --- a/c/listview.h +++ b/c/listview.h @@ -17,7 +17,7 @@ struct ListView * by default). */ virtual void ResizeColumns(int w); /* Enable/disable "modern" theme. */ - virtual void UpdateTheme(BOOL bThemeActive); + virtual void UpdateTheme(bool bThemeActive); virtual LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); protected: WNDPROC m_proc0; -- cgit v1.2.3