]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
Get/Set LayoutDirection
[wxWidgets.git] / include / wx / list.h
index 187f003c4285484dd97f5550dce8ed8b8ca14690..8c19a070ec5fe9b705d36978a25be2d4805dfb42 100644 (file)
@@ -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,                              \