From 6565df6e22e2f824ee3d5bbc6db87649a425de76 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Mon, 10 Apr 2000 19:41:29 +0000 Subject: [PATCH] Seems I forgot to commit a wxRename fix in here (again) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index a4ebbdce2d..4a4f4ddfcc 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1042,7 +1042,7 @@ wxRenameFile (const wxString& file1, const wxString& file2) return TRUE; #else // Normal system call - if (0 == wxRename (wxFNSTRINGCAST file1.fn_str(), wxFNSTRINGCAST file2.fn_str())) + if (0 == wxRename (wxCSTRINGCAST file1, wxCSTRINGCAST file2)) return TRUE; #endif // Try to copy