]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
some stupid attempts to make utf8 work - it doesn't, but the code does no harm and...
[wxWidgets.git] / src / common / filefn.cpp
index ea1417f900913a05e0f3e257083fa7045b7858fa..721448750dbce5dc51178799de807bbc3edada02 100644 (file)
@@ -1057,13 +1057,15 @@ wxCopyFile (const wxString& file1, const wxString& file2)
             return FALSE;
     }
 
+#ifndef __VISAGECPP__
+// no chmod in VA.  SHould be some permission API for HPFS386 partitions however
     if ( chmod(file2, fbuf.st_mode) != 0 )
     {
         wxLogSysError(_("Impossible to set permissions for the file '%s'"),
                       file2.c_str());
         return FALSE;
     }
-
+#endif
     return TRUE;
 }