André Hentschel : user32/tests: The dialog for that proc has no IDCANCEL.

Alexandre Julliard julliard at winehq.org
Wed Jul 7 10:46:34 CDT 2010


Module: wine
Branch: master
Commit: 9c1149045f3652dc0538a826c475a18a7f8e4e92
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9c1149045f3652dc0538a826c475a18a7f8e4e92

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Jul  6 21:03:10 2010 +0200

user32/tests: The dialog for that proc has no IDCANCEL.

---

 dlls/user32/tests/dialog.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/dlls/user32/tests/dialog.c b/dlls/user32/tests/dialog.c
index cc80c27..b7727da 100644
--- a/dlls/user32/tests/dialog.c
+++ b/dlls/user32/tests/dialog.c
@@ -760,12 +760,7 @@ static INT_PTR CALLBACK focusDlgWinProc (HWND hDlg, UINT uiMsg, WPARAM wParam,
        return TRUE;
 
     case WM_COMMAND:
-       if (LOWORD(wParam) == IDCANCEL)
-       {
-           EndDialog(hDlg, LOWORD(wParam));
-           return TRUE;
-       }
-       else if (LOWORD(wParam) == 200)
+       if (LOWORD(wParam) == 200)
        {
            if (HIWORD(wParam) == EN_SETFOCUS)
                g_hwndInitialFocusT1 = (HWND)lParam;




More information about the wine-cvs mailing list