aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-02 02:52:01 +0000
committerDavid Robillard <d@drobilla.net>2012-08-02 02:52:01 +0000
commit596e7b2f85930c833d25dd14a67873779aa7853d (patch)
tree30972c6838bbc23cb5ec47fa80c00131e0de38c4
parent1702307bfeb21ad5e59ee3ef4a342c8867d37140 (diff)
downloadpugl-596e7b2f85930c833d25dd14a67873779aa7853d.tar.gz
pugl-596e7b2f85930c833d25dd14a67873779aa7853d.tar.bz2
pugl-596e7b2f85930c833d25dd14a67873779aa7853d.zip
Work around more ridiculous Windows header fail.
-rw-r--r--pugl/pugl_win.cpp7
1 files changed, 7 insertions, 0 deletions
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;