// Purpose: wxItemId class declaration.
// Author: Vadim Zeitlin
// Created: 2011-08-17
-// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
Type GetID() const { return m_pItem; }
operator const Type() const { return m_pItem; }
+ // This is used for implementation purposes only.
+ Type operator->() const { return m_pItem; }
+
void Unset() { m_pItem = NULL; }
// This field is public *only* for compatibility with the old wxTreeItemId