X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2abb9d2f1716177aa6c0ce0fd6a2519580dc12af..be7a101366995b7b7bb76e3d5b1e7dd8fc9a1af8:/include/wx/dynarray.h diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 6ff3d60383..fb4b3f6d8b 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -6,7 +6,7 @@ // Created: 12.09.97 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _DYNARRAY_H @@ -168,12 +168,12 @@ public: \ { return (T&)(base::Item(Count() - 1)); } \ \ int Index(T Item, bool bFromEnd = FALSE) const \ - { return base::Index(Item, bFromEnd); } \ + { return base::Index((base_type)Item, bFromEnd); } \ \ void Add(T Item, size_t nInsert = 1) \ - { base::Add(Item, nInsert); } \ + { base::Add((base_type)Item, nInsert); } \ void Insert(T Item, size_t uiIndex, size_t nInsert = 1) \ - { base::Insert(Item, uiIndex, nInsert) ; } \ + { base::Insert((base_type)Item, uiIndex, nInsert) ; } \ \ void RemoveAt(size_t uiIndex, size_t nRemove = 1) \ { base::RemoveAt(uiIndex, nRemove); } \