diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-03 22:04:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-03 22:04:05 +0200 |
commit | ebac89ec6ae0aca646420320c019a0e1cbb79d7c (patch) | |
tree | 2506816a2280bcfb5b6a203cba35caa1dca89b71 /c/listview.cpp | |
parent | 04daecdd21e86e7556a9462380096530228cd6ca (diff) | |
download | EpisodeBrowser-ebac89ec6ae0aca646420320c019a0e1cbb79d7c.tar.gz |
Use Pascal case for all functions.
Diffstat (limited to 'c/listview.cpp')
-rw-r--r-- | c/listview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } |