[PATCH 6/8] regedit: Remove the unused _CmdWndProc callback function from listview.c

Hugh McMaster hugh.mcmaster at outlook.com
Wed Jul 12 06:09:30 CDT 2017


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 programs/regedit/listview.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c
index 9e271ad391..aaec88fa95 100644
--- a/programs/regedit/listview.c
+++ b/programs/regedit/listview.c
@@ -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) {
 	
-- 
2.11.0




More information about the wine-patches mailing list