summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-04-26 00:53:01 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-04-26 00:53:01 +0100
commitdbab5c2b7f03118f86fa1a17ae2b94acbe412151 (patch)
tree2b407f958eaf6f1fcdd1690a541f307bafe71c11 /src
parentc508cc7ea078653921030a9497da2267d8825faf (diff)
downloadfpGUI-dbab5c2b7f03118f86fa1a17ae2b94acbe412151.tar.xz
Only enable the debug interface when needed.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_combobox.pas2
-rw-r--r--src/gui/fpg_tree.pas4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/fpg_combobox.pas b/src/gui/fpg_combobox.pas
index 8c10f195..9825ae55 100644
--- a/src/gui/fpg_combobox.pas
+++ b/src/gui/fpg_combobox.pas
@@ -189,7 +189,9 @@ implementation
uses
fpg_listbox,
+ {$IFDEF DEBUG}
dbugintf,
+ {$ENDIF}
math;
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas
index 8935ec36..1454b2a7 100644
--- a/src/gui/fpg_tree.pas
+++ b/src/gui/fpg_tree.pas
@@ -273,10 +273,10 @@ type
implementation
-{.$IFDEF DEBUG}
+{$IFDEF DEBUG}
uses
dbugintf;
-{.$ENDIF}
+{$ENDIF}
type
PColumnLeft = ^integer;