OS X drag'n'drop now pastes into the correct widget (STR #974)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
eeda8ef60b
commit
b5a0c5bcc9
@ -1590,7 +1590,7 @@ static pascal OSErr dndReceiveHandler( WindowPtr w, void *userData, DragReferenc
|
||||
Fl::e_text = currDragData;
|
||||
// printf("Sending following text to widget %p:\n%s\n", Fl::belowmouse(), Fl::e_text);
|
||||
int old_event = Fl::e_number;
|
||||
target->handle(Fl::e_number = FL_PASTE);
|
||||
Fl::belowmouse()->handle(Fl::e_number = FL_PASTE);
|
||||
Fl::e_number = old_event;
|
||||
|
||||
if (currDragData) {
|
||||
|
Loading…
Reference in New Issue
Block a user