From 51be13a34a45c16bfe7a6628cda24da166bc70ab Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 26 Dec 2003 01:05:41 +0000 Subject: [PATCH] small fix svn path=/trunk/; revision=7244 --- reactos/lib/user32/windows/defwnd.c | 3 +-- reactos/lib/user32/windows/nonclient.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/lib/user32/windows/defwnd.c b/reactos/lib/user32/windows/defwnd.c index acf1a95ac22..1753f9fbcf9 100644 --- a/reactos/lib/user32/windows/defwnd.c +++ b/reactos/lib/user32/windows/defwnd.c @@ -1,4 +1,4 @@ -/* $Id: defwnd.c,v 1.115 2003/12/24 01:26:10 weiden Exp $ +/* $Id: defwnd.c,v 1.116 2003/12/26 01:05:41 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -974,7 +974,6 @@ User32DefWindowProc(HWND hWnd, return (DefWndNCLButtonDown(hWnd, wParam, lParam)); } - case WM_LBUTTONDBLCLK: case WM_NCLBUTTONDBLCLK: { return (DefWndNCLButtonDblClk(hWnd, wParam, lParam)); diff --git a/reactos/lib/user32/windows/nonclient.c b/reactos/lib/user32/windows/nonclient.c index 71134dfdccc..c4ffbe84368 100644 --- a/reactos/lib/user32/windows/nonclient.c +++ b/reactos/lib/user32/windows/nonclient.c @@ -931,6 +931,8 @@ DefWndNCLButtonDblClk(HWND hWnd, WPARAM wParam, LPARAM lParam) SendMessageW(hWnd, WM_SYSCOMMAND, SC_CLOSE, 0); break; } + default: + return DefWndNCLButtonDown(hWnd, wParam, lParam); } return(0); }