Module: wine Branch: master Commit: d4989906bd48a58957ef63ec4bbe7d422b7a60e6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4989906bd48a58957ef63ec4b...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 23 12:07:35 2012 +0100
view: Don't use windowsx.h.
---
programs/view/view.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/view/view.c b/programs/view/view.c index 535df7f..824f9e1 100644 --- a/programs/view/view.c +++ b/programs/view/view.c @@ -17,7 +17,7 @@ */
#include <windows.h> -#include <windowsx.h> +#include <commdlg.h> #include "resource.h"
#include <stdio.h> @@ -230,7 +230,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT uMessage, WPARAM wparam, LPARAM break;
case WM_COMMAND: /* message: command from application menu */ - switch (GET_WM_COMMAND_ID(wparam,lparam)) + switch (LOWORD(wparam)) { case IDM_OPEN: {