]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/arrstr.h
Removed wxPropertyGridInterface::SetPropertyAttributes()
[wxWidgets.git] / include / wx / arrstr.h
index 4c099c36b20bc33e9ea2c4ef718633619e4f5b3f..95b9506fdc82a3a1a066728a7cff7f737a056ad2 100644 (file)
@@ -301,6 +301,13 @@ public:
   void reserve(size_type n) /* base::reserve*/;
   void resize(size_type n, value_type v = value_type());
   size_type size() const { return GetCount(); }
+  void swap(wxArrayString& other)
+  {
+      wxSwap(m_nSize, other.m_nSize);
+      wxSwap(m_nCount, other.m_nCount);
+      wxSwap(m_pItems, other.m_pItems);
+      wxSwap(m_autoSort, other.m_autoSort);
+  }
 
 protected:
   void Init(bool autoSort);             // common part of all ctors