From cbfd05e799286657ed42e3c95734b90f3b8e2153 Mon Sep 17 00:00:00 2001 From: Cirilo Bernardo Date: Mon, 11 Jan 2016 18:32:37 +1100 Subject: [PATCH] Change dynamic loader from wxPluginManager to wxDynamicLoader (wxPluginManager was causing segfaults) --- plugins/ldr/pluginldr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ldr/pluginldr.h b/plugins/ldr/pluginldr.h index 33e6ce7e1e..dc22d36ae7 100644 --- a/plugins/ldr/pluginldr.h +++ b/plugins/ldr/pluginldr.h @@ -32,7 +32,7 @@ #include #include -#include +#include // helper function to link functions in the plugin #define LINK_ITEM( funcPtr, funcType, funcName ) \ @@ -89,7 +89,7 @@ protected: bool reopen( void ); // the plugin loader - wxPluginManager m_PluginLoader; + wxDynamicLibrary m_PluginLoader; public: KICAD_PLUGIN_LDR();