Forward-ported wxPython-bindings related cleanup from 2.9.0 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -152,6 +152,15 @@ public:
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPGGlobalVarsClassManager, wxModule)
|
||||
|
||||
|
||||
// When wxPG is loaded dynamically after the application is already running
|
||||
// then the built-in module system won't pick this one up. Add it manually.
|
||||
void wxPGInitResourceModule()
|
||||
{
|
||||
wxModule* module = new wxPGGlobalVarsClassManager;
|
||||
module->Init();
|
||||
wxModule::RegisterModule(module);
|
||||
}
|
||||
|
||||
wxPGGlobalVarsClass* wxPGGlobalVars = NULL;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user