From 0d870c5bb3d4a1f71147ccd1031e5294d3e8b871 Mon Sep 17 00:00:00 2001 From: Catalin Date: Sun, 21 Feb 2016 12:02:57 +0200 Subject: [PATCH] No longer define GET_X_LPARAM and GET_Y_LPARAM macros. According to MSDN they are available starting with Windows 2000 Professional/Server. --- include/wx/msw/private.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index fd32326f78..213b2403e7 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -333,15 +333,6 @@ BOOL wxDrawStateBitmap(HDC hDC, HBITMAP hBitmap, int x, int y, UINT uState); #endif // wxUSE_OWNER_DRAWN -// get (x, y) from DWORD - notice that HI/LOWORD can *not* be used because they -// will fail on system with multiple monitors where the coords may be negative -// -// these macros are standard now (Win98) but some older headers don't have them -#ifndef GET_X_LPARAM - #define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp)) - #define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp)) -#endif // GET_X_LPARAM - // get the current state of SHIFT/CTRL/ALT keys inline bool wxIsModifierDown(int vk) {