IO_ERROR: improve What() message
This commit is contained in:
parent
a5178c70db
commit
aa27e9ff7e
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue