user32: Avoid including winuser16.h in 32-bit files.

This commit is contained in:
Alexandre Julliard 2009-12-22 12:50:07 +01:00
parent df3e5a8762
commit ce05f49843
3 changed files with 3 additions and 4 deletions

View File

@ -33,7 +33,6 @@
#include "user_private.h"
#include "controls.h"
#include "wine/unicode.h"
#include "wine/winuser16.h"
#include "wine/server.h"
#include "wine/exception.h"
#include "wine/debug.h"
@ -44,6 +43,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(win);
#define KEYDATA_ALT 0x2000
#define KEYDATA_PREVSTATE 0x4000
#define DRAG_FILE 0x454C4946
static short iF10Key = 0;
static short iMenuSysKey = 0;
static const WCHAR imm32W[] = { 'i','m','m','3','2','\0' };

View File

@ -31,7 +31,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "controls.h"
#include "wine/winuser16.h"
static HBRUSH hbrushPattern;
static HBITMAP hbitmapWallPaper;

View File

@ -34,7 +34,6 @@
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "wine/winuser16.h"
#include "wine/unicode.h"
#include "controls.h"
#include "win.h"
@ -566,7 +565,7 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
size.cx = rect.right - rect.left;
size.cy = rect.bottom - rect.top;
if (template.x == CW_USEDEFAULT16)
if (template.x == (SHORT)0x8000 /*CW_USEDEFAULT16*/)
{
pos.x = pos.y = CW_USEDEFAULT;
}