]> git.saurik.com Git - wxWidgets.git/commitdiff
fn.Mkdir now gives an ICE on VC6 now that it is const.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 17 Jun 2009 17:31:53 +0000 (17:31 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 17 Jun 2009 17:31:53 +0000 (17:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/archive/archivetest.cpp

index 83d85a2a2d499a693ea7f8401e255804da17a53a..c9f6d69c0b618474dc093268f2b275d5d6adae9e 100644 (file)
@@ -647,7 +647,7 @@ void ArchiveTestCase<ClassFactoryT>::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());