merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -17,7 +17,6 @@
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "wx/defs.h"
 | 
			
		||||
#include "wx/debug.h"
 | 
			
		||||
 | 
			
		||||
/** @name Dynamic arrays and object arrays (array which own their elements)
 | 
			
		||||
    @memo Arrays which grow on demand and do range checking (only in debug)
 | 
			
		||||
@@ -304,7 +303,8 @@ public:                                                             \
 | 
			
		||||
  void Insert(const T* pItem, size_t uiIndex)                       \
 | 
			
		||||
    { wxBaseArray::Insert((long)pItem, uiIndex); }                  \
 | 
			
		||||
                                                                    \
 | 
			
		||||
  void Empty();                                                     \
 | 
			
		||||
  void Empty() { DoEmpty(); wxBaseArray::Empty(); }                 \
 | 
			
		||||
  void Clear() { DoEmpty(); wxBaseArray::Clear(); }                 \
 | 
			
		||||
                                                                    \
 | 
			
		||||
  T*   Detach(size_t uiIndex)                                       \
 | 
			
		||||
    { T* p = (T*)wxBaseArray::Item(uiIndex);                        \
 | 
			
		||||
@@ -315,6 +315,7 @@ public:                                                             \
 | 
			
		||||
  void Sort(CMPFUNC##T fCmp) { wxBaseArray::Sort((CMPFUNC)fCmp); }  \
 | 
			
		||||
                                                                    \
 | 
			
		||||
private:                                                            \
 | 
			
		||||
  void DoEmpty();                                                   \
 | 
			
		||||
  void DoCopy(const name& src);                                     \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user