Hello,
so I'm newly digging my way through the Kicad startup phase, which gets
my head melting... I can follow the way from getting the KIFACE_1 of the
dll all the way to a CreateWindow-Call which for example creates a
SCH_EDIT_FRAME. Now what I could not find out yet is, how is the
wxApp::ms_appInstance is initialized for the plugin dlls (ie. maybe
through wxInitialize or the wxApp constructor). I'm asking this because
I run into crashes in my personal build when a plugin tries to run
functions which depend on wxGetApp() and the likes, because the dll's
wxApp::ms_appInstance is nullptr.
Any input on this would be highly appreciated!
Kind Regards
Michael
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp