X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Ftreelistctrl.h;h=5c23dfce37bdf3a982dbd44b07bc83f2248ca3bb;hb=c0953bc3ee5159982b285fc3271799ee9a8af824;hp=12ad46d91d518ec997ea5d6071494e13d4e7280a;hpb=684add23b4f64cb3c6e39e12a4af20d2c2500df6;p=creaImageIO.git diff --git a/src/treelistctrl.h b/src/treelistctrl.h index 12ad46d..5c23dfc 100644 --- a/src/treelistctrl.h +++ b/src/treelistctrl.h @@ -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 +#include #include #include @@ -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;