Rename static wxModule::m_modules to use "ms_" prefix

No real changes, just use consisting naming convention.

Better late than never.
This commit is contained in:
Vadim Zeitlin
2021-03-07 20:07:42 +01:00
parent 8d01aaf783
commit 628514bcd3
2 changed files with 10 additions and 10 deletions

View File

@@ -54,14 +54,14 @@ public:
static void RegisterModule(wxModule *module);
static void RegisterModules();
static bool InitializeModules();
static void CleanUpModules() { DoCleanUpModules(m_modules); }
static void CleanUpModules() { DoCleanUpModules(ms_modules); }
// used by wxObjectLoader when unloading shared libs's
static void UnregisterModule(wxModule *module);
protected:
static wxModuleList m_modules;
static wxModuleList ms_modules;
// the function to call from constructor of a deriving class add module
// dependency which will be initialized before the module and unloaded
@@ -89,7 +89,7 @@ private:
// cleanup the modules in the specified list (which may not contain all
// modules if we're called during initialization because not all modules
// could be initialized) and also empty m_modules itself
// could be initialized) and also empty ms_modules itself
static void DoCleanUpModules(const wxModuleList& modules);
// resolve all named dependencies and add them to the normal m_dependencies