X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c913512a4c9f36e11e07ea707002fab1608d324..e333075415c35d2e869ea585fa41f01a2c938897:/interface/treebase.h diff --git a/interface/treebase.h b/interface/treebase.h index 5b03d60811..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 @@ -15,8 +15,7 @@ @library{wxcore} @category{FIXME} - @seealso - wxTreeCtrl, wxTreeItemData, @ref overview_wxtreectrloverview "wxTreeCtrl + @see wxTreeCtrl, wxTreeItemData, @ref overview_wxtreectrloverview "wxTreeCtrl overview" */ class wxTreeItemId @@ -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; //@} }; +