Lines 83-89
Link Here
|
83 |
{ |
83 |
{ |
84 |
// Open file and let wxFFile destructor close the file |
84 |
// Open file and let wxFFile destructor close the file |
85 |
// Closing it explicitly may crash on Win32 ... |
85 |
// Closing it explicitly may crash on Win32 ... |
86 |
wxFFile file(filename.GetFullPath(), wxT("rbS")); |
86 |
wxFFile file( (const wxChar*) filename.GetFullPath(), (const char*) wxT("rbS")); |
87 |
if (! file.IsOpened()) |
87 |
if (! file.IsOpened()) |
88 |
{ |
88 |
{ |
89 |
wxLogError (_("Unable to open %s"),unicode2char(filename.GetFullPath())); |
89 |
wxLogError (_("Unable to open %s"),unicode2char(filename.GetFullPath())); |