diff options
Diffstat (limited to 'src/corelib/x11/fpg_x11.pas')
-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 } |