pathOut = wxEmptyString;
wxArrayString dirs = GetDirs();
- dirs.Add(GetName());
+ dirs.Add(GetFullName());
size_t count = dirs.GetCount();
size_t i;
#if defined(__WXMSW__) || defined(__WXPM__)
format = wxPATH_DOS;
#elif defined(__WXMAC__)
- format = wxPATH_UNIX; // that's the way the rest of wx' code works right now
+ format = wxPATH_MAC;
#else
format = wxPATH_UNIX;
#endif