diff options
author | David Robillard <d@drobilla.net> | 2012-08-02 02:52:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-02 02:52:01 +0000 |
commit | 596e7b2f85930c833d25dd14a67873779aa7853d (patch) | |
tree | 30972c6838bbc23cb5ec47fa80c00131e0de38c4 | |
parent | 1702307bfeb21ad5e59ee3ef4a342c8867d37140 (diff) | |
download | pugl-596e7b2f85930c833d25dd14a67873779aa7853d.tar.gz pugl-596e7b2f85930c833d25dd14a67873779aa7853d.tar.bz2 pugl-596e7b2f85930c833d25dd14a67873779aa7853d.zip |
Work around more ridiculous Windows header fail.
-rw-r--r-- | pugl/pugl_win.cpp | 7 |
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; |