Change dynamic loader from wxPluginManager to wxDynamicLoader (wxPluginManager was causing segfaults)

This commit is contained in:
Cirilo Bernardo 2016-01-11 18:32:37 +11:00
parent f123fab15b
commit cbfd05e799
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#include <string> #include <string>
#include <wx/string.h> #include <wx/string.h>
#include <wx/dynload.h> #include <wx/dynlib.h>
// helper function to link functions in the plugin // helper function to link functions in the plugin
#define LINK_ITEM( funcPtr, funcType, funcName ) \ #define LINK_ITEM( funcPtr, funcType, funcName ) \
@ -89,7 +89,7 @@ protected:
bool reopen( void ); bool reopen( void );
// the plugin loader // the plugin loader
wxPluginManager m_PluginLoader; wxDynamicLibrary m_PluginLoader;
public: public:
KICAD_PLUGIN_LDR(); KICAD_PLUGIN_LDR();