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