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:
Jaakko Salli
2009-05-30 10:49:05 +00:00
parent a7d8506b4f
commit b512ed9320
6 changed files with 15 additions and 48 deletions

View File

@@ -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;