From ebac89ec6ae0aca646420320c019a0e1cbb79d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 3 Aug 2022 22:04:05 +0200 Subject: Use Pascal case for all functions. --- c/listview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/listview.cpp') diff --git a/c/listview.cpp b/c/listview.cpp index 107d34b..bd92246 100644 --- a/c/listview.cpp +++ b/c/listview.cpp @@ -11,7 +11,7 @@ static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); ListView::ListView(const HWND hWndParent, const HMENU hMenu, const DWORD dwStyle) { m_hWndParent = hWndParent; - hWnd = require(CreateWindowEx( + hWnd = Require(CreateWindowEx( WS_EX_CLIENTEDGE, WC_LISTVIEW, L"", @@ -20,7 +20,7 @@ ListView::ListView(const HWND hWndParent, const HMENU hMenu, const DWORD dwStyle hWndParent, hMenu, GetModuleHandle(NULL), this)); m_proc0 = (WNDPROC)SetWindowLongPtr(hWnd, GWLP_WNDPROC, (LONG_PTR)::WndProc); - require(SetProp(hWnd, L"this", (HANDLE)this)); + Require(SetProp(hWnd, L"this", (HANDLE)this)); ListView_SetExtendedListViewStyle(hWnd, LVS_EX_FULLROWSELECT|LVS_EX_DOUBLEBUFFER); SendMessage(hWnd, WM_SETFONT, (WPARAM)g_hfNormal, MAKELPARAM(FALSE, 0)); } -- cgit v1.2.3