mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 06:21:26 +08:00
Define missing macro on Windows/MinGW platform
... as reported today by Ian on fltk.general in thread "Mingw-32 compile issue with new 4/5 mousebutton hooks (fltk-1.4)"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user