summaryrefslogtreecommitdiff
path: root/examples/apps/ide/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-03-18 10:38:00 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2013-03-18 10:38:00 +0000
commitbe0b02c02346b9dd17f37295bc84a3693c011a9b (patch)
tree8ad5ba15f9f95655b84ae39ffede96de3b9c509b /examples/apps/ide/src
parente4412c9704fd7938739d5e6dc1c9daa8e8212b8f (diff)
downloadfpGUI-be0b02c02346b9dd17f37295bc84a3693c011a9b.tar.xz
ide: replaces RTL functions with fpGUI wrapper versions.
Diffstat (limited to 'examples/apps/ide/src')
-rw-r--r--examples/apps/ide/src/frm_main.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/apps/ide/src/frm_main.pas b/examples/apps/ide/src/frm_main.pas
index 48e5b8b1..2c658fde 100644
--- a/examples/apps/ide/src/frm_main.pas
+++ b/examples/apps/ide/src/frm_main.pas
@@ -517,7 +517,7 @@ begin
GProject.UnitList.Add(u);
// add reference to tabsheet
pcEditor.ActivePage.TagPointer := u;
- s := ExtractRelativepath(GProject.ProjectDir, u.FileName);
+ s := fpgExtractRelativepath(GProject.ProjectDir, u.FileName);
r := GetUnitsNode;
n := r.AppendText(s);
// add reference to treenode
@@ -623,8 +623,7 @@ begin
begin
for i := 0 to GProject.UnitList.Count-1 do
begin
- {$Note ExtractRelativePath still needs a fpGUI wrapper }
- s := ExtractRelativepath(GProject.ProjectDir, GProject.UnitList[i].FileName);
+ s := fpgExtractRelativepath(GProject.ProjectDir, GProject.UnitList[i].FileName);
n := r.AppendText(s);
n.Data := GProject.UnitList[i];
end;