X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..04857cb707be4de8083e599fc2e1967c77eb7f5e:/src/common/dircmn.cpp diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 246df8fb3a..801e2d1f9f 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -18,7 +18,7 @@ // ---------------------------------------------------------------------------- /* this is done in platform-specific files -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dir.h" #endif */ @@ -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 */