projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix recursion problems when loading pages from a virtual file system using the WebKit...
[wxWidgets.git]
/
include
/
wx
/
dynarray.h
diff --git
a/include/wx/dynarray.h
b/include/wx/dynarray.h
index 1fc89c9939ea1e78a6d11332c368f092b3deeae0..56abaae013f4d8fbdee8f0f99684b219f96ffc09 100644
(file)
--- a/
include/wx/dynarray.h
+++ b/
include/wx/dynarray.h
@@
-546,6
+546,8
@@
public: \
\
size_t Add(T lItem) \
{ return base::Add(lItem, (CMPFUNC)m_fnCompare); } \
\
size_t Add(T lItem) \
{ return base::Add(lItem, (CMPFUNC)m_fnCompare); } \
+ void push_back(T lItem) \
+ { Add(lItem); } \
\
void RemoveAt(size_t uiIndex, size_t nRemove = 1) \
{ base::erase(begin() + uiIndex, begin() + uiIndex + nRemove); } \
\
void RemoveAt(size_t uiIndex, size_t nRemove = 1) \
{ base::erase(begin() + uiIndex, begin() + uiIndex + nRemove); } \
@@
-636,7
+638,7
@@
private: \
// that wants to export a wxArray daubed with your own import/export goo.
//
// Finally, you can define the macro below as something special to modify the
// that wants to export a wxArray daubed with your own import/export goo.
//
// Finally, you can define the macro below as something special to modify the
-// arrays defined by a simple WX_FOO_ARRAY as well. By default is
is
empty.
+// arrays defined by a simple WX_FOO_ARRAY as well. By default is empty.
#define wxARRAY_DEFAULT_EXPORT
// ----------------------------------------------------------------------------
#define wxARRAY_DEFAULT_EXPORT
// ----------------------------------------------------------------------------