wxString and wxChar* access for file functions. Source cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-12-21 18:57:20 +00:00
parent a6f4dbbd86
commit 4430ec36d1
4 changed files with 27 additions and 68 deletions

View File

@@ -251,7 +251,7 @@ bool wxResourceTable::ParseResourceFile(const wxString& filename)
{
wxExprDatabase db;
FILE *fd = wxFopen(filename, wxT("r"));
FILE *fd = wxFopen(filename.fn_str(), wxT("r"));
if (!fd)
return false;
bool eof = false;
@@ -2831,7 +2831,7 @@ bool wxResourceParseIncludeFile(const wxString& f, wxResourceTable *table)
if (!table)
table = wxDefaultResourceTable;
FILE *fd = wxFopen(f, wxT("r"));
FILE *fd = wxFopen(f.fn_str(), wxT("r"));
if (!fd)
{
return false;