X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..178572bba583f5bd0096a3203acfe8128af0de6b:/src/common/module.cpp diff --git a/src/common/module.cpp b/src/common/module.cpp index f1d0bebed7..0853642073 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -42,6 +42,11 @@ void wxModule::RegisterModule(wxModule* module) m_modules.Append(module); } +void wxModule::UnregisterModule(wxModule* module) +{ + m_modules.DeleteObject(module); +} + // Collect up all module-derived classes, create an instance of each, // and register them. void wxModule::RegisterModules()