X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/225fe9d6efa8294e0582a046dee2c4c608bd06dc..bb338b31a760f9ad5c875db1c182a9bb2f3e1431:/include/wx/listctrl.h diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 04e3cffb8c..2165244e32 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -200,6 +200,10 @@ public: wxFont GetFont() const { return HasAttributes() ? m_attr->GetFont() : wxNullFont; } + // this conversion is necessary to make old code using GetItem() to + // compile + operator long() const { return m_itemId; } + // these members are public for compatibility long m_mask; // Indicates what fields are valid