#include "wx/volume.h"
#include <shellapi.h>
+#include <shlobj.h>
#include "wx/msw/missing.h"
#if wxUSE_BASE
TCHAR* buf = new TCHAR[chars+1];
// Get the list of drives.
- chars = GetLogicalDriveStrings(chars, buf);
+ GetLogicalDriveStrings(chars, buf);
// Parse the list into an array, applying appropriate filters.
TCHAR *pVol;