unicode for mac fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-08-17 07:37:06 +00:00
parent 365796b153
commit 1d42ad9a21

View File

@@ -190,7 +190,7 @@ size_t wxGetAvailableDrives(wxArrayString &paths, wxArrayString &names, wxArrayI
continue; continue;
} }
// add path separator at end if necessary // add path separator at end if necessary
wxString path( thePath ) ; wxString path( thePath , wxConvLocal) ;
if (path.Last() != wxFILE_SEP_PATH) { if (path.Last() != wxFILE_SEP_PATH) {
path += wxFILE_SEP_PATH; path += wxFILE_SEP_PATH;
} }
@@ -218,7 +218,7 @@ size_t wxGetAvailableDrives(wxArrayString &paths, wxArrayString &names, wxArrayI
CFRelease( cstr ); CFRelease( cstr );
continue; continue;
} }
wxString name( cstr ); wxString name( cstr , wxConvLocal );
DisposePtr( cstr ); DisposePtr( cstr );
CFRelease( cfstr ); CFRelease( cfstr );