summaryrefslogtreecommitdiff
path: root/examples/gui/treeviewtest/treeviewtest.lpr
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/treeviewtest/treeviewtest.lpr')
-rw-r--r--examples/gui/treeviewtest/treeviewtest.lpr4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gui/treeviewtest/treeviewtest.lpr b/examples/gui/treeviewtest/treeviewtest.lpr
index f8343fc6..2ef9c974 100644
--- a/examples/gui/treeviewtest/treeviewtest.lpr
+++ b/examples/gui/treeviewtest/treeviewtest.lpr
@@ -58,8 +58,8 @@ begin
// create a image list
imagelist := TfpgImageList.Create;
- imagelist.AddItemFromFile('../../../images/folder_16.bmp', 0);
- imagelist.AddItemFromFile('../../../images/menu_preferences_16.bmp', 1);
+ imagelist.AddItemFromFile(SetDirSeparators('../../../images/folder_16.bmp'), 0);
+ imagelist.AddItemFromFile(SetDirSeparators('../../../images/menu_preferences_16.bmp'), 1);
// create a treeview
tree := TfpgTreeView.Create(self);