mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 09:30:13 +08:00
This function unconditionally added a new wxXmlResourceModule object to the modules list which could result in problems if it had been already initialized. Ensure that we do this only if necessary by calling the new function added to wxModule which checks if the module is already known and adds and initializes only this module if it is not. See #26111. Closes #26039.