X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87df1c87e284435cad9dc31481533b3b62452d91..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/itemid.h?ds=sidebyside 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