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:
@@ -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 ");
|
||||
|
Reference in New Issue
Block a user