fix definitions of WM_MOUSEWHEEL and WM_MOUSELAST

svn path=/trunk/; revision=32071
This commit is contained in:
Timo Kreuzer 2008-01-31 21:29:03 +00:00
parent 76569bc213
commit e8c790f781

View file

@ -1685,6 +1685,7 @@ extern "C" {
#define WM_KEYLAST 264 #define WM_KEYLAST 264
#define WM_SYNCPAINT 136 #define WM_SYNCPAINT 136
#define WM_MOUSEACTIVATE 33 #define WM_MOUSEACTIVATE 33
#define WM_MOUSEFIRST 512
#define WM_MOUSEMOVE 512 #define WM_MOUSEMOVE 512
#define WM_LBUTTONDOWN 513 #define WM_LBUTTONDOWN 513
#define WM_LBUTTONUP 514 #define WM_LBUTTONUP 514
@ -1695,13 +1696,20 @@ extern "C" {
#define WM_MBUTTONDOWN 519 #define WM_MBUTTONDOWN 519
#define WM_MBUTTONUP 520 #define WM_MBUTTONUP 520
#define WM_MBUTTONDBLCLK 521 #define WM_MBUTTONDBLCLK 521
#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
#define WM_MOUSEWHEEL 522 #define WM_MOUSEWHEEL 522
#define WM_MOUSEFIRST 512 #endif
#if (_WIN32_WINNT >= 0x0500) #if (_WIN32_WINNT >= 0x0500)
#define WM_XBUTTONDOWN 523 #define WM_XBUTTONDOWN 523
#define WM_XBUTTONUP 524 #define WM_XBUTTONUP 524
#define WM_XBUTTONDBLCLK 525 #define WM_XBUTTONDBLCLK 525
#endif
#if (_WIN32_WINNT >= 0x0500)
#define WM_MOUSELAST 525 #define WM_MOUSELAST 525
#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
#define WM_MOUSELAST 522
#else
#define WM_MOUSELAST 521
#endif #endif
#define WM_MOUSEHOVER 0x2A1 #define WM_MOUSEHOVER 0x2A1
#define WM_MOUSELEAVE 0x2A3 #define WM_MOUSELEAVE 0x2A3