+#ifdef WIN32
+#include <windowsx.h>
+#endif
#include <msp/graphics/window.h>
#include <msp/graphics/window_priv.h>
#include <msp/strings/format.h>
break;
case WM_MOUSEWHEEL:
{
- unsigned btn = (HIWORD(wp)&0x8000) ? 5 : 4;
+ unsigned btn = (HIWORD(event.wparam)&0x8000) ? 5 : 4;
set_button_state(btn, true, true);
set_button_state(btn, false, true);
}