diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-04-01 17:41:30 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-04-01 17:41:30 +0200 |
| commit | 3dfcfe370b6b71439055605daebac1f374af314d (patch) | |
| tree | 6e3d945b4309587400c85217619e387c22137edc /sokol_app.h | |
| parent | 09e3ac6815677be721709d3753049d5173c0cc43 (diff) | |
sokol_app.h: define WM_MOUSEWHEEL if needed, fixes #138
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h index 6fd23f94..5ad17e6f 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -2565,6 +2565,11 @@ _SOKOL_PRIVATE const _sapp_gl_fbconfig* _sapp_gl_choose_fbconfig(const _sapp_gl_ #endif #endif +/* see https://github.com/floooh/sokol/issues/138 */ +#ifndef WM_MOUSEWHEEL +#define WM_MOUSEWHEEL (0x020A) +#endif + #ifndef DPI_ENUMS_DECLARED typedef enum PROCESS_DPI_AWARENESS { |