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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-12-21 17:35:42 +00:00
parent 7e49601492
commit f50a1c3d66
3 changed files with 10 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ static GLfloat yrot;
static void read_surface( const wxChar *filename )
{
FILE *f = wxFopen(filename,_T("r"));
FILE *f = wxFopen(wxFNCONV(filename),_T("r"));
if (!f)
{
wxString msg = _T("Couldn't read ");