X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..b0540bb8ba756e2df3479073d9f6d7c3373460c3:/src/common/dircmn.cpp diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 246df8fb3a..8f2dd8e27b 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -206,7 +206,7 @@ public: virtual wxDirTraverseResult OnFile(const wxString& filename) { - m_files.Add(filename); + m_files.push_back(filename); return wxDIR_CONTINUE; } @@ -217,6 +217,8 @@ public: private: wxArrayString& m_files; + + DECLARE_NO_COPY_CLASS(wxDirTraverserSimple) }; /* static */