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:
@@ -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 );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user