Commit 9e1278dd authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Remove the unused _CmdWndProc callback function from listview.c.

parent c4a06a30
......@@ -362,25 +362,9 @@ HWND StartValueRename(HWND hwndLV)
return (HWND)SendMessageW(hwndLV, LVM_EDITLABELW, item, 0);
}
static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (LOWORD(wParam)) {
/* case ID_FILE_OPEN: */
/* break; */
default:
return FALSE;
}
return TRUE;
}
static LRESULT CALLBACK ListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) {
case WM_COMMAND:
if (!_CmdWndProc(hWnd, message, wParam, lParam)) {
return CallWindowProcW(g_orgListWndProc, hWnd, message, wParam, lParam);
}
break;
case WM_NOTIFY_REFLECT:
switch (((LPNMHDR)lParam)->code) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment