]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/volume.cpp
pc 2 mac conversion for file operations
[wxWidgets.git] / src / msw / volume.cpp
index 9cfda8856f1032592a7213022457279b698bcb3c..c36b73379a69256f98417f9193e810efcaca2e61 100644 (file)
@@ -44,7 +44,7 @@
 #include <shellapi.h>
 #include "wx/msw/missing.h"
 
-#ifdef __WXBASE__
+#if wxUSE_BASE
 
 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 // Dynamic library function defs.
@@ -354,7 +354,7 @@ static bool BuildRemoteList(wxArrayString& list, NETRESOURCE* pResSrc,
             {
                 // Found the element.  Remove it or mark it mounted.
                 if (flagsUnset & wxFS_VOL_MOUNTED)
-                    list.Remove(iList);
+                    list.RemoveAt(iList);
                 else
                     s_fileInfo[list[iList]].m_flags |= wxFS_VOL_MOUNTED;
 
@@ -538,7 +538,7 @@ int wxFSVolumeBase::GetFlags() const
     return itr->second.m_flags;
 } // GetFlags
 
-#endif // __WXBASE__
+#endif // wxUSE_BASE
 
 // ============================================================================
 // wxFSVolume