FLDropTarget::DragEnter() replace call to Fl::get_mouse(int&, int&) by call to GetCursorPos(POINT*)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2017-07-14 06:47:52 +00:00
parent 4a38820972
commit ff1a8ca921
+3 -3
View File
@@ -88,9 +88,9 @@ public:
scaled units from the OS.
Therefore, we ask here for the mouse coordinates.
*/
int mx, my;
Fl::get_mouse(mx, my);
pt.x = mx; pt.y = my;
POINT mp;
GetCursorPos(&mp);
pt.x = mp.x; pt.y = mp.y;
// set e_modifiers here from grfKeyState, set e_x and e_root_x
// check if FLTK handles this drag and return if it can't (i.e. BMP drag without filename)