diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2012-07-17 17:30:05 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2012-07-17 17:30:05 +0100 |
commit | 9197d268bf0823d29d86fea3b5e2f6902fc83b5d (patch) | |
tree | ed958b4026679dbb641b5ac5b3e241c64c2cb5af | |
parent | 5aace1b2a4d7d493786c870cf699727957b08306 (diff) | |
download | fpGUI-9197d268bf0823d29d86fea3b5e2f6902fc83b5d.tar.xz |
uidesigner: Replaces WriteLn statements with DebugLn statements.
Those statements where for debugging purposes anyway. Plus this means when
UI Designer is compiled as a Windows GUI app, it will not cause
"File not Open" errors any more.
-rw-r--r-- | uidesigner/vfdformparser.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uidesigner/vfdformparser.pas b/uidesigner/vfdformparser.pas index 45306ac5..831e5083 100644 --- a/uidesigner/vfdformparser.pas +++ b/uidesigner/vfdformparser.pas @@ -336,7 +336,7 @@ begin begin pwg := ffd.FindWidgetByName(wgparent); if pwg = nil then - Writeln('Warning! Parent object "' + wgparent + '" not found for "' + wgname + '"'); + DebugLn('Warning! Parent object "' + wgparent + '" not found for "' + wgname + '"'); end; if pwg = nil then pwg := ffd.Form; @@ -507,7 +507,7 @@ begin end; if not lok then - Writeln('unknown: ', line); + DebugLn('unknown: ', line); Result := lok; end; |