]> git.saurik.com Git - wxWidgets.git/commitdiff
unicode for mac fixes
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 17 Aug 2003 07:37:06 +0000 (07:37 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 17 Aug 2003 07:37:06 +0000 (07:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

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