summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-10-28 00:29:16 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-10-28 00:29:16 +0200
commitbda7ccb8e5920125cde97dd8f1ef0af25ad39804 (patch)
tree57b04f612e7e16a4938dae0db6f0d835c5ae6f1f /src/corelib
parent7e2566f425bf65e2ff3118fdee90319b549e3504 (diff)
downloadfpGUI-bda7ccb8e5920125cde97dd8f1ef0af25ad39804.tar.xz
TfpgDrag.Execute now has a default TfpgDropAction drop action of daCopy.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/fpg_main.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas
index 8ae6da5e..25e8806d 100644
--- a/src/corelib/fpg_main.pas
+++ b/src/corelib/fpg_main.pas
@@ -346,7 +346,7 @@ type
function GetSource: TfpgWindow; reintroduce;
public
constructor Create(ASource: TfpgWindow);
- function Execute(const ADropActions: TfpgDropActions; const ADefaultAction: TfpgDropAction = daCopy): TfpgDropAction; override;
+ function Execute(const ADropActions: TfpgDropActions = [daCopy]; const ADefaultAction: TfpgDropAction = daCopy): TfpgDropAction; override;
property Source: TfpgWindow read GetSource;
property Target: TfpgWinHandle read FTarget write FTarget;
property MimeData: TfpgMimeDataBase read FMimeData write SetMimeData;