From 7deb7a69bf83e72d525c80a69b18e4eb55d7e6a8 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 28 Jul 2014 13:59:50 +0200 Subject: [PATCH] wxWidgets 2.8 compatibility fix. --- cvpcb/readwrite_dlgs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvpcb/readwrite_dlgs.cpp b/cvpcb/readwrite_dlgs.cpp index b0f89692d4..a5aa0b8811 100644 --- a/cvpcb/readwrite_dlgs.cpp +++ b/cvpcb/readwrite_dlgs.cpp @@ -394,7 +394,7 @@ int CVPCB_MAINFRAME::SaveCmpLinkFile( const wxString& aFullFileName ) STRING_FORMATTER sf; m_netlist.FormatBackAnnotation( &sf ); -wxMessageBox(sf.GetString()); + wxMessageBox( wxString( sf.GetString().c_str(), wxConvUTF8 ) ); Kiway().ExpressMail( FRAME_SCH, MAIL_BACKANNOTATE_FOOTPRINTS, sf.GetString() ); }