Fix wxWidgets 2.8 build error.

This commit is contained in:
Wayne Stambaugh 2011-12-28 09:15:00 -05:00
parent 375310f2ab
commit 1cb1e88ef4
1 changed files with 4 additions and 3 deletions

View File

@ -299,9 +299,10 @@ this file again." ) );
} }
} }
catch( IO_ERROR ioe ) catch( IO_ERROR ioe )
{wxMessageBox("catch"); {
wxString msg = wxString::Format( _( "Error loading board.\n%s" ), wxMessageBox( _( "catch" ) );
ioe.errorText.GetData() ); wxString msg = wxString::Format( _( "Error loading board.\n%s" ),
ioe.errorText.GetData() );
wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR ); wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR );
} }