X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87df1c87e284435cad9dc31481533b3b62452d91..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/itemid.h diff --git a/include/wx/itemid.h b/include/wx/itemid.h index fa61195fe8..2b6e59dd1e 100644 --- a/include/wx/itemid.h +++ b/include/wx/itemid.h @@ -36,6 +36,9 @@ public: 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