]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOTreeNode.h
#3323 Bug with ToolBar (in wxFrame an not in wxPanel) in MacOs
[creaImageIO.git] / src / creaImageIOTreeNode.h
index bd5299187d6a22b562ca5e7403edd3e05105ccea..c38680ba1029dd0e8f37d9dec1bf338d4658efde 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef __creaImageIOTreeNode_h_INCLUDED__
 #define __creaImageIOTreeNode_h_INCLUDED__
 
-#include <creaImageIOTreeDescriptor.h>
+#include <creaImageIOTreeLevelDescriptor.h>
 #include <creaImageIOTreeComparators.h>
 #include<boost/filesystem/operations.hpp>
 #include <vector>
@@ -66,7 +66,6 @@ namespace creaImageIO
     public:
       typedef std::map<std::string,std::string> AttributeMapType;
 
-
       /// Ctor with parent
       Node(Node* parent);
       /// Ctor with parent and attributes map 
@@ -88,7 +87,6 @@ namespace creaImageIO
       /// Returns the level of the node in the tree
       virtual int GetLevel() const { return mParent->GetLevel()+1; }
 
-        
       /// Returns the parent of the node
       Node* GetParent() const { return mParent; }
 
@@ -96,7 +94,7 @@ namespace creaImageIO
       /// Warning : if the children are not loaded then might return 0
       ///           even if the node has children !
       ///           see TreeHandler::GetNumberOfChildren 
-      unsigned int GetNumberOfChildren() const { return mChildren.size(); }
+      unsigned int GetNumberOfChildren() const { return (int)mChildren.size(); }
 
       /// Returns true iff the node's children are loaded
       bool GetChildrenLoaded() const { return mChildrenLoaded; }
@@ -113,7 +111,6 @@ namespace creaImageIO
 
       /// Remove the given children from the children list
       int RemoveChildrenFromList(Node*);
-
        
          /// Get the Attributes Map
       AttributeMapType& GetAttributeMap() { return mAttributeMap; }