#include "wx/crt.h"
#endif
+#include "wx/dynarray.h"
#include "wx/file.h"
#include "wx/filename.h"
#include "wx/dir.h"
#if defined(__OS2__)
if (d[1] == ':')
{
- ::DosSetDefaultDisk(1 + wxToupper(d[0]) - _T('A'));
+ ::DosSetDefaultDisk(wxToupper(d[0]) - _T('A') + 1);
// do not call DosSetCurrentDir when just changing drive,
// since it requires e.g. "d:." instead of "d:"!
if (d.length() == 2)