oops, wx2.8 compatibility fixes

This commit is contained in:
Dick Hollenbeck 2014-04-10 16:31:55 -05:00
parent 359f05ad76
commit 36bdbde68c
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ struct APP_SINGLE_TOP : public wxApp
catch( const std::exception& e ) catch( const std::exception& e )
{ {
wxLogError( wxT( "Unhandled exception class: %s what: %s" ), wxLogError( wxT( "Unhandled exception class: %s what: %s" ),
typeid(e).name(), e.what() ); GetChars( FROM_UTF8( typeid(e).name() )),
GetChars( FROM_UTF8( e.what() ) ) );;
} }
catch( const IO_ERROR& ioe ) catch( const IO_ERROR& ioe )
{ {