if ( file.IsOpened() )
{
wxString text;
- if ( file.ReadAll(&text, *wxConvCurrent) )
+ if ( file.ReadAll(&text, wxConvAuto()) )
{
// Detect the EOL: we use just the first line because there is not
// much we can do if the file uses inconsistent EOLs anyhow, we'd