2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: treebase.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of wxTreeItemId
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxTreeItemId
|
|
|
|
@wxheader{treebase.h}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
An opaque reference to a tree item.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
|
|
|
@category{FIXME}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
@see wxTreeCtrl, wxTreeItemData, @ref overview_wxtreectrloverview "wxTreeCtrl
|
2008-03-08 08:52:38 -05:00
|
|
|
overview"
|
|
|
|
*/
|
2008-03-08 09:43:31 -05:00
|
|
|
class wxTreeItemId
|
2008-03-08 08:52:38 -05:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
Default constructor. wxTreemItemIds are not meant to be constructed explicitly
|
|
|
|
by
|
|
|
|
the user; they are returned by the wxTreeCtrl functions instead.
|
|
|
|
*/
|
|
|
|
wxTreeItemId();
|
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if this instance is referencing a valid tree item.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool IsOk() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
//@{
|
|
|
|
/**
|
|
|
|
Operators for comparison between wxTreeItemId objects.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
void operator !() const;
|
|
|
|
const bool operator ==(const wxTreeItemId& item) const;
|
|
|
|
const bool operator !=(const wxTreeItemId& item) const;
|
2008-03-08 08:52:38 -05:00
|
|
|
//@}
|
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|