From 3c4cb0664447baed6a00de74ad15c1daca69ea17 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Thu, 10 Apr 2014 16:31:55 -0500 Subject: [PATCH] oops, wx2.8 compatibility fixes --- common/single_top.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/single_top.cpp b/common/single_top.cpp index 0248f5f119..19104c4261 100644 --- a/common/single_top.cpp +++ b/common/single_top.cpp @@ -236,7 +236,8 @@ struct APP_SINGLE_TOP : public wxApp catch( const std::exception& e ) { 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 ) {