From: <vo...@us...> - 2012-07-12 08:54:58
|
Revision: 2741 http://moneymanagerex.svn.sourceforge.net/moneymanagerex/?rev=2741&view=rev Author: vomikan Date: 2012-07-12 08:54:52 +0000 (Thu, 12 Jul 2012) Log Message: ----------- fix for wx2.9.x Modified Paths: -------------- branches/0.9.9.0/mmex/src/mmex.cpp Modified: branches/0.9.9.0/mmex/src/mmex.cpp =================================================================== --- branches/0.9.9.0/mmex/src/mmex.cpp 2012-07-12 08:31:11 UTC (rev 2740) +++ branches/0.9.9.0/mmex/src/mmex.cpp 2012-07-12 08:54:52 UTC (rev 2741) @@ -4656,10 +4656,9 @@ { wxLogError(e.GetMessage()); } - catch (std::exception &e) + catch (const std::exception &e) { - wxString msg(e.what(), wxConvCurrent); // wxConvLibc, wxConvLocal - wxLogError(msg); + wxLogError(wxString::Format(wxT("%s"), e.what())); } } //---------------------------------------------------------------------------- @@ -4676,10 +4675,9 @@ { wxLogError(e.GetMessage()); } - catch (std::exception &e) + catch (const std::exception &e) { - wxString msg(e.what(), wxConvCurrent); - wxLogError(msg); + wxLogError(wxString::Format(wxT("%s"), e.what())); } return ok; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |