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 )
{wxMessageBox("catch");
wxString msg = wxString::Format( _( "Error loading board.\n%s" ),
ioe.errorText.GetData() );
{
wxMessageBox( _( "catch" ) );
wxString msg = wxString::Format( _( "Error loading board.\n%s" ),
ioe.errorText.GetData() );
wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR );
}