include: Fix the definition of NOTIFYICON_VERSION[_4].
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cde11289bf
commit
d91a87cea2
|
@ -283,7 +283,7 @@ static BOOL notify_owner(struct tray_icon *icon, UINT msg, int x, int y)
|
|||
WPARAM wp = icon->id;
|
||||
LPARAM lp = msg;
|
||||
|
||||
if (icon->version >= NOTIFY_VERSION_4)
|
||||
if (icon->version >= NOTIFYICON_VERSION_4)
|
||||
{
|
||||
wp = MAKEWPARAM(x, y);
|
||||
lp = MAKELPARAM(msg, icon->id);
|
||||
|
|
|
@ -441,7 +441,7 @@ static BOOL notify_owner( struct tray_icon *icon, UINT msg, LPARAM lparam )
|
|||
WPARAM wp = icon->id;
|
||||
LPARAM lp = msg;
|
||||
|
||||
if (icon->version >= NOTIFY_VERSION_4)
|
||||
if (icon->version >= NOTIFYICON_VERSION_4)
|
||||
{
|
||||
POINT pt = { (short)LOWORD(lparam), (short)HIWORD(lparam) };
|
||||
|
||||
|
|
|
@ -378,8 +378,8 @@ void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lp
|
|||
#define NIM_SETFOCUS 0x00000003
|
||||
#define NIM_SETVERSION 0x00000004
|
||||
|
||||
#define NOTIFY_VERSION 3 /* supported by Windows 2000 and later */
|
||||
#define NOTIFY_VERSION_4 4 /* supported by Windows Vista */
|
||||
#define NOTIFYICON_VERSION 3
|
||||
#define NOTIFYICON_VERSION_4 4
|
||||
|
||||
/* callback message lParam values */
|
||||
#define NIN_SELECT (WM_USER+0)
|
||||
|
|
|
@ -723,7 +723,7 @@ static BOOL notify_owner( struct icon *icon, UINT msg, POINT pt )
|
|||
WPARAM wp = icon->id;
|
||||
LPARAM lp = msg;
|
||||
|
||||
if (icon->version >= NOTIFY_VERSION_4)
|
||||
if (icon->version >= NOTIFYICON_VERSION_4)
|
||||
{
|
||||
ClientToScreen( tray_window, &pt );
|
||||
wp = MAKEWPARAM( pt.x, pt.y );
|
||||
|
|
Loading…
Reference in New Issue