X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..5a224901b8ede55e1db9980f0fcaf7d2cb49285f:/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()