diff options
| -rw-r--r-- | src/Fl_win32.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 06e9d5eee..adaf598c6 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -90,6 +90,12 @@ void fl_cleanup_dc_list(void); # include <wchar.h> #endif +// old versions of MinGW lack definition of GET_XBUTTON_WPARAM: + +#ifndef GET_XBUTTON_WPARAM +#define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam)) +#endif + static bool is_dpi_aware = false; extern bool fl_clipboard_notify_empty(void); |
