More Unicode fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-04-25 06:03:12 +00:00
parent e54cfe2b28
commit 9d98a27ad6
8 changed files with 12 additions and 12 deletions

View File

@@ -2199,7 +2199,7 @@ bool wxTransferFileToStream(const wxString& filename, wxOutputStream& stream)
FILE *fd1;
int ch;
if ((fd1 = fopen (filename.fn_str(), "rb")) == NULL)
if ((fd1 = wxFopen (filename.fn_str(), wxT("rb"))) == NULL)
return FALSE;
while ((ch = getc (fd1)) != EOF)
@@ -2214,7 +2214,7 @@ bool wxTransferStreamToFile(wxInputStream& stream, const wxString& filename)
FILE *fd1;
char ch;
if ((fd1 = fopen (filename.fn_str(), "wb")) == NULL)
if ((fd1 = wxFopen (filename.fn_str(), wxT("wb"))) == NULL)
{
return FALSE;
}