diff --git a/src/windy/platforms/win32/platform.nim b/src/windy/platforms/win32/platform.nim index 7853f62..5c7f36d 100644 --- a/src/windy/platforms/win32/platform.nim +++ b/src/windy/platforms/win32/platform.nim @@ -869,7 +869,7 @@ proc wndProc( MouseButton5 else: MouseMiddle - if uMsg in {WM_LBUTTONDOWN, WM_RBUTTONDOWN, WM_MBUTTONDOWN}: + if uMsg in {WM_LBUTTONDOWN.UINT, WM_RBUTTONDOWN, WM_MBUTTONDOWN}: window.handleButtonPress(button) if button == MouseLeft: discard SetCapture(window.hWnd)