pcbnew crashed on start compiled with KICAD_SCRIPTING_WXPYTHON=ON

This commit is contained in:
Jean-Samuel Reynaud 2014-06-12 08:57:00 -05:00 committed by Dick Hollenbeck
parent 21b70093b0
commit 00e18d2144
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
void* addr = NULL;
if( !dso.Load( dname, wxDL_VERBATIM | wxDL_NOW ) )
if( !dso.Load( dname, wxDL_VERBATIM | wxDL_NOW | wxDL_GLOBAL ) )
{
// Failure: error reporting UI was done via wxLogSysError().
// No further reporting required here.