]> Creatis software - creaImageIO.git/blobdiff - src/treelistctrl.h
No newline at end of file
[creaImageIO.git] / src / treelistctrl.h
index 12ad46d91d518ec997ea5d6071494e13d4e7280a..5c23dfce37bdf3a982dbd44b07bc83f2248ca3bb 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Robert Roebling
 // Maintainer:  Otto Wyss
 // Created:     01/02/97
-// RCS-ID:      $Id: treelistctrl.h,v 1.1 2008/09/26 14:15:48 guigues Exp $
+// RCS-ID:      $Id: treelistctrl.h,v 1.3 2008/10/01 14:23:59 guigues Exp $
 // Copyright:   (c) 2004 Robert Roebling, Julian Smart, Alberto Griggio,
 //              Vadim Zeitlin, Otto Wyss
 // Licence:     wxWindows
@@ -24,6 +24,7 @@
 #endif
 
 #include <creaImageIOSystem.h>
+#include <creaWx.h>
 
 #include <wx/treectrl.h>
 #include <wx/control.h>
@@ -370,6 +371,9 @@ public:
   //    wxTreeItemId GetSelection() const;
   wxTreeItemId GetCurrent() const;
 
+    // returns the number of currently selected items
+    size_t GetSelectionSize() const;
+
     // get the items currently selected, return the number of such item
     size_t GetSelections (wxArrayTreeItemIds&) const;