diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-10-28 00:31:38 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-10-28 00:31:38 +0200 |
commit | e878ef0a55705720a41e77081d8f8765b11109dc (patch) | |
tree | c0eb53514ad1fd4df58b30a18914c90895ad3cb5 /src/corelib | |
parent | f259be48749fd0cec281a23e2ef2e34b186f3aa2 (diff) | |
download | fpGUI-e878ef0a55705720a41e77081d8f8765b11109dc.tar.xz |
OnDragLeave event now has the Sender parameter set, and points to the target component
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index b97243f0..e2766d0a 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -1009,7 +1009,7 @@ begin if wg.AcceptDrops then begin if Assigned(wg.OnDragLeave) then - wg.OnDragLeave(nil); + wg.OnDragLeave(wg); end; end; ResetDNDVariables; @@ -1098,7 +1098,7 @@ begin if wg2.AcceptDrops then begin if Assigned(wg2.OnDragLeave) then - wg2.OnDragLeave(nil); + wg2.OnDragLeave(wg2); end; fillchar(msgp, sizeof(msgp), 0); { Notify the widget so it can reset its looks if needed } |