X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87df1c87e284435cad9dc31481533b3b62452d91..d87098c062ac92e38434f89eba372fa8547ebaa4:/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