]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / xrc / xmlres.cpp
index a600a58db3798bf7a3c74c16ce2ea06a003574fc..5dc68b0df8b92100c44e7c243fbf1a2cec9b3260 100644 (file)
@@ -2872,8 +2872,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxXmlResourceModule, wxModule)
 void wxXmlInitResourceModule()
 {
     wxModule* module = new wxXmlResourceModule;
-    module->Init();
     wxModule::RegisterModule(module);
+    wxModule::InitializeModules();
 }
 
 #endif // wxUSE_XRC