view: Don't use windowsx.h.

This commit is contained in:
Alexandre Julliard 2012-01-23 12:07:35 +01:00
parent 58a8047346
commit d4989906bd
1 changed files with 2 additions and 2 deletions

View File

@ -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:
{