From 596e7b2f85930c833d25dd14a67873779aa7853d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Aug 2012 02:52:01 +0000 Subject: Work around more ridiculous Windows header fail. --- pugl/pugl_win.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pugl') diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index 63d484f..b006af0 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -24,6 +24,13 @@ #include "pugl_internal.h" +#ifndef WM_MOUSEWHEEL +# define WM_MOUSEWHEEL 0x020A +#endif +#ifndef WM_MOUSEHWHEEL +# define WM_MOUSEHWHEEL 0x020E +#endif + struct PuglInternalsImpl { HWND hwnd; HDC hdc; -- cgit v1.2.1