From: Michael Wetherell Date: Wed, 17 Jun 2009 17:31:53 +0000 (+0000) Subject: fn.Mkdir now gives an ICE on VC6 now that it is const. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9f7191dbb9dbf457520596e2340a47b7f2df355b?ds=sidebyside fn.Mkdir now gives an ICE on VC6 now that it is const. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/archive/archivetest.cpp b/tests/archive/archivetest.cpp index 83d85a2a2d..c9f6d69c0b 100644 --- a/tests/archive/archivetest.cpp +++ b/tests/archive/archivetest.cpp @@ -647,7 +647,7 @@ void ArchiveTestCase::CreateArchive(wxOutputStream& out, TestEntry& entry = *i->second; if (fn.IsDir()) { - fn.Mkdir(0777, wxPATH_MKDIR_FULL); + wxFileName::Mkdir(fn.GetPath(), 0777, wxPATH_MKDIR_FULL); } else { wxFileName::Mkdir(fn.GetPath(), 0777, wxPATH_MKDIR_FULL); wxFFileOutputStream fileout(fn.GetFullPath());