From 0992f4ef15c5fe054d938c6aad2692f7f67fcd60 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 1 Dec 2005 09:02:13 +0000 Subject: STR #1095: Drag'n'drop on WIN32 was only possible using the left mouse button. Added support for the middle and right button. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_dnd_win32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fl_dnd_win32.cxx b/src/fl_dnd_win32.cxx index 1f814d687..1475a6775 100644 --- a/src/fl_dnd_win32.cxx +++ b/src/fl_dnd_win32.cxx @@ -288,7 +288,7 @@ public: STDMETHODIMP QueryContinueDrag( BOOL esc, DWORD keyState ) { if ( esc ) return DRAGDROP_S_CANCEL; - if ( !(keyState & MK_LBUTTON) ) + if ( !(keyState & (MK_LBUTTON|MK_MBUTTON|MK_RBUTTON)) ) return DRAGDROP_S_DROP; return S_OK; } -- cgit v1.2.3