summaryrefslogtreecommitdiff
path: root/src/fl_dnd_win32.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-08-20 15:29:25 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-08-20 15:29:25 +0000
commit323ae2238e5b560b87ab15e511601e27cc80bde4 (patch)
tree685b0a24a4efdfb83b6dbeefbbc8773c6cf8adf3 /src/fl_dnd_win32.cxx
parent43519f12641f717c6679f038330eb33d7eeaf580 (diff)
Albrecht's DND under WIN32 bug fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_dnd_win32.cxx')
-rw-r--r--src/fl_dnd_win32.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fl_dnd_win32.cxx b/src/fl_dnd_win32.cxx
index 92ad1aaa3..00a4262ae 100644
--- a/src/fl_dnd_win32.cxx
+++ b/src/fl_dnd_win32.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_dnd_win32.cxx,v 1.5.2.12 2002/06/29 00:10:04 matthiaswm Exp $"
+// "$Id: fl_dnd_win32.cxx,v 1.5.2.13 2002/08/20 15:29:25 easysw Exp $"
//
// Drag & Drop code for the Fast Light Tool Kit (FLTK).
//
@@ -172,7 +172,7 @@ public:
//long len = GlobalSize( medium.hGlobal );
Fl::e_length = strlen( (char*)stuff ); // min(strlen, len)
Fl::e_text = (char*)stuff;
- target->handle(FL_PASTE); // e_text will be invalid after this call
+ Fl::belowmouse()->handle(FL_PASTE); // e_text will be invalid after this call
GlobalUnlock( medium.hGlobal );
ReleaseStgMedium( &medium );
SetForegroundWindow( hwnd );
@@ -197,7 +197,7 @@ public:
if ( i<nf-1 ) *dst++ = '\n';
}
*dst = 0;
- target->handle(FL_PASTE);
+ Fl::belowmouse()->handle(FL_PASTE);
free( Fl::e_text );
ReleaseStgMedium( &medium );
SetForegroundWindow( hwnd );
@@ -349,5 +349,5 @@ int Fl::dnd()
//
-// End of "$Id: fl_dnd_win32.cxx,v 1.5.2.12 2002/06/29 00:10:04 matthiaswm Exp $".
+// End of "$Id: fl_dnd_win32.cxx,v 1.5.2.13 2002/08/20 15:29:25 easysw Exp $".
//