X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23324ae1c7938ba904770fc456d3c07764b9c5e9..a7c01bb15548f1701e2b1d401f1db19d9b9a327f:/interface/treebase.h diff --git a/interface/treebase.h b/interface/treebase.h index 02618e84b0..9e83d58c79 100644 --- a/interface/treebase.h +++ b/interface/treebase.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: treebase.h -// Purpose: documentation for wxTreeItemId class +// Purpose: interface of wxTreeItemId // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -9,17 +9,16 @@ /** @class wxTreeItemId @wxheader{treebase.h} - + An opaque reference to a tree item. - + @library{wxcore} @category{FIXME} - - @seealso - wxTreeCtrl, wxTreeItemData, @ref overview_wxtreectrloverview "wxTreeCtrl + + @see wxTreeCtrl, wxTreeItemData, @ref overview_wxtreectrloverview "wxTreeCtrl overview" */ -class wxTreeItemId +class wxTreeItemId { public: /** @@ -32,14 +31,15 @@ public: /** Returns @true if this instance is referencing a valid tree item. */ -#define bool IsOk() /* implementation is private */ + bool IsOk() const; //@{ /** Operators for comparison between wxTreeItemId objects. */ - void operator !(); - bool operator ==(const wxTreeItemId& item); - bool operator !=(const wxTreeItemId& item); + void operator !() const; + const bool operator ==(const wxTreeItemId& item) const; + const bool operator !=(const wxTreeItemId& item) const; //@} }; +