]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dircmn.cpp
Remove check for other wxPaintDCs. It should be done in wxWindow instead.
[wxWidgets.git] / src / common / dircmn.cpp
index 246df8fb3abfa159ffa09314abf90f097275f360..d491ed9d530e4fcbe6d040d5982a134ce970d9e1 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;
     }