diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-29 12:39:38 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-29 12:39:38 +0200 |
commit | 1bfb9a35d6d597a9691777dfc6b757a4366b88e3 (patch) | |
tree | 4c312eac6958103e7cf830c60bd0019a2489e79f | |
parent | d3bc090ffb6c1a96e2a6cb01f474f9318c4c84f1 (diff) | |
download | fpGUI-1bfb9a35d6d597a9691777dfc6b757a4366b88e3.tar.xz |
More DND debugging code for TfpgGDIDrag class.
-rw-r--r-- | src/corelib/gdi/fpg_gdi.pas | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/gdi/fpg_gdi.pas b/src/corelib/gdi/fpg_gdi.pas index c1560042..e4cea8a5 100644 --- a/src/corelib/gdi/fpg_gdi.pas +++ b/src/corelib/gdi/fpg_gdi.pas @@ -274,6 +274,7 @@ type FSource: TfpgGDIWindow; function GetSource: TfpgGDIWindow; virtual; public + destructor Destroy; override; function Execute(const ADropActions: TfpgDropActions; const ADefaultAction: TfpgDropAction=daCopy): TfpgDropAction; override; end; @@ -2791,6 +2792,14 @@ begin Result := FSource; end; +destructor TfpgGDIDrag.Destroy; +begin + {$IFDEF DND_DEBUG} + writeln('TfpgGDIDrag.Destroy '); + {$ENDIF} + inherited Destroy; +end; + function TfpgGDIDrag.Execute(const ADropActions: TfpgDropActions; const ADefaultAction: TfpgDropAction): TfpgDropAction; var dwEffect: DWORD; |