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