]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dircmn.cpp
moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
[wxWidgets.git] / src / common / dircmn.cpp
index 246df8fb3abfa159ffa09314abf90f097275f360..8f2dd8e27bae621235f398224a1afd96dc948ec7 100644 (file)
@@ -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 */