mirror of
https://github.com/fltk/fltk.git
synced 2026-05-25 09:17:49 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user