inserted casts allowing to have arrays of function pointers -- this is wrong but works on most platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-02-16 17:46:05 +00:00
parent ed5317e538
commit e38ed919ba

View File

@@ -168,12 +168,12 @@ public: \
{ return (T&)(base::Item(Count() - 1)); } \ { return (T&)(base::Item(Count() - 1)); } \
\ \
int Index(T Item, bool bFromEnd = FALSE) const \ 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) \ 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) \ 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) \ void RemoveAt(size_t uiIndex, size_t nRemove = 1) \
{ base::RemoveAt(uiIndex, nRemove); } \ { base::RemoveAt(uiIndex, nRemove); } \