#if wxUSE_FSVOLUME
#ifndef WX_PRECOMP
- #include "wx/icon.h"
+ #if wxUSE_GUI
+ #include "wx/icon.h"
+ #endif
#include "wx/intl.h"
#endif // WX_PRECOMP
#include <shellapi.h>
#include "wx/msw/missing.h"
-#ifdef __WXBASE__
+#if wxUSE_BASE
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Dynamic library function defs.
// Function: CompareFcn
// Purpose: Used to sort the NN list alphabetically, case insensitive.
//=============================================================================
-static int CompareFcn(const wxString& first, const wxString& second)
+static int CompareFcn(wxString* first, wxString* second)
{
- return wxStricmp(first.c_str(), second.c_str());
+ return wxStricmp(first->c_str(), second->c_str());
} // CompareFcn
//=============================================================================
{
// 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;
return itr->second.m_flags;
} // GetFlags
-#endif // __WXBASE__
+#endif // wxUSE_BASE
// ============================================================================
// wxFSVolume