Fix wxWidgets 2.8 build error.
This commit is contained in:
parent
375310f2ab
commit
1cb1e88ef4
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue