From a9e2f0e3de78fbb9853ac7ada10b8889e5e6f8f5 Mon Sep 17 00:00:00 2001 From: Jean-Samuel Reynaud Date: Thu, 12 Jun 2014 08:57:00 -0500 Subject: [PATCH] pcbnew crashed on start compiled with KICAD_SCRIPTING_WXPYTHON=ON --- common/kiway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/kiway.cpp b/common/kiway.cpp index 396c5cb417..39bbdab38f 100644 --- a/common/kiway.cpp +++ b/common/kiway.cpp @@ -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.