X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95aabccc3aac9dffa8490e1310cd93c6cd04c1e9..5d1902d6d6efc842c8f488520d3cca40f1ae99f8:/include/wx/msw/treectrl.h?ds=sidebyside diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index 4bae542743..48c0d60504 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -21,6 +21,7 @@ #include "wx/control.h" #include "wx/event.h" +#include "wx/textctrl.h" #ifdef __GNUWIN32__ # ifdef GetFirstChild @@ -150,7 +151,11 @@ public: // accessors: set/get the item associated with this node void SetId(const wxTreeItemId& id) { m_itemId = id; } +#ifdef __WATCOMC__ + const wxTreeItemId GetId() const { return m_itemId; } +#else const wxTreeItemId& GetId() const { return (wxTreeItemId&) m_itemId; } +#endif }; // ----------------------------------------------------------------------------