IO_ERROR: improve What() message

This commit is contained in:
Chris Pavlina 2016-12-29 12:21:57 -05:00
parent a5178c70db
commit aa27e9ff7e
1 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,11 @@
const wxString IO_ERROR::What() const const wxString IO_ERROR::What() const
{ {
return wxString( "IO_ERROR: " ) + Problem() + "\n\t" + Where(); #ifdef DEBUG
return wxString( "IO_ERROR: " ) + Problem() + "\n\n" + Where();
#else
return Problem();
#endif
} }