]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMIProjectTreeNode.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMIProjectTreeNode.h
index d1688de5a8715da49defcd82ec8c46aa3efd0aa0..ddfae33b24685085248dbddc4a757985e89fd891 100644 (file)
@@ -39,6 +39,7 @@
 #include <vector>
 #include <creaWx.h>
 #include "wx/treectrl.h"
+#include "wxCDMTreeItemId.h"
 
 /**
  * Class that represents an element of a Crea Project.
@@ -61,7 +62,7 @@ public:
    * Returns the id of the node in the tree of the project.
    * @return Id of the node in the tree project.
    */
-  const wxTreeItemId& GetId() const;
+  const wxCDMTreeItemId& GetId() const;
   /**
    * Returns the full path to the node, including the name of the node.
    * @return Node's full path.
@@ -106,7 +107,7 @@ public:
    * Sets the id of the node in the project tree.
    * @param id Id of the node.
    */
-  void SetId(const wxTreeItemId& id);
+  void SetId(const wxCDMTreeItemId& id);
   /**
    * Sorts the children using the compareNodeItem function.
    */
@@ -134,7 +135,7 @@ public:
   /**
    * Id of the node in the project tree.
    */
-  wxTreeItemId id;
+  wxCDMTreeItemId id;
   /**
    * path of the node in the computer.
    */