diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-05-26 14:09:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-05-26 14:09:00 +0000 |
| commit | 674dc68ed8a7b72b97487516192c090da3715f0b (patch) | |
| tree | 6f0272f0ed2b599254f6affce154750cc9797593 /src | |
| parent | 83df87d710ff4484594f057bbec04b0398f15ef5 (diff) | |
Possible fix for OSX DND.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_mac.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 0f72f22d5..038e34e7a 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_mac.cxx,v 1.1.2.40 2003/05/22 18:32:51 easysw Exp $" +// "$Id: Fl_mac.cxx,v 1.1.2.41 2003/05/26 14:09:00 easysw Exp $" // // MacOS specific code for the Fast Light Tool Kit (FLTK). // @@ -1344,7 +1344,8 @@ static pascal OSErr dndReceiveHandler( WindowPtr w, void *userData, DragReferenc dst[-1] = 0; // if ( Fl::e_text[Fl::e_length-1]==0 ) Fl::e_length--; // modify, if trailing 0 is part of string Fl::e_length = dst - Fl::e_text - 1; - target->handle(FL_PASTE); +// target->handle(FL_PASTE); + paste(*belowmouse(), 0); free( Fl::e_text ); fl_dnd_target_window = 0L; @@ -1774,6 +1775,6 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) { // -// End of "$Id: Fl_mac.cxx,v 1.1.2.40 2003/05/22 18:32:51 easysw Exp $". +// End of "$Id: Fl_mac.cxx,v 1.1.2.41 2003/05/26 14:09:00 easysw Exp $". // |
