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
This commit is contained in:
parent
cb19f58484
commit
0992f4ef15
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user