Is there a way to get access to wxGetApp() in the plugin? I've tried adding the wxDECLARE_APP(); macro (also including the header from the main project) but it doesn't work. When wxGetApp() is invoked I get
As a side question: Is this the right approach for creating a plugin system?libPlugin.so: undefined symbol: _Z8wxGetAppv