From dbab5c2b7f03118f86fa1a17ae2b94acbe412151 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 26 Apr 2013 00:53:01 +0100 Subject: Only enable the debug interface when needed. --- src/gui/fpg_combobox.pas | 2 ++ src/gui/fpg_tree.pas | 4 ++-- 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; -- cgit v1.2.3-70-g09d2