X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d13fbc6dc2c70d7423c68b422a708ac1c64d201..7ca4ac63835adef8226b655013a8a84b416c8171:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index 187f003c42..8c19a070ec 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -262,6 +262,11 @@ private: std::advance( i, idx ); \ return compatibility_iterator( this, i ); \ } \ + elT operator[](size_t idx) const \ + { \ + return Item(idx).GetData(); \ + } \ + \ compatibility_iterator GetFirst() const \ { \ return compatibility_iterator( this, \