fix for multiple initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b63fce942f
commit
139c5871c9
@ -1226,7 +1226,10 @@ static void CleanXRCID_Record(XRCID_record *rec)
|
||||
static void CleanXRCID_Records()
|
||||
{
|
||||
for (int i = 0; i < XRCID_TABLE_SIZE; i++)
|
||||
{
|
||||
CleanXRCID_Record(XRCID_Records[i]);
|
||||
XRCID_Records[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static void AddStdXRCID_Records()
|
||||
@ -1286,5 +1289,3 @@ void wxXmlInitResourceModule()
|
||||
module->Init();
|
||||
wxModule::RegisterModule(module);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1226,7 +1226,10 @@ static void CleanXRCID_Record(XRCID_record *rec)
|
||||
static void CleanXRCID_Records()
|
||||
{
|
||||
for (int i = 0; i < XRCID_TABLE_SIZE; i++)
|
||||
{
|
||||
CleanXRCID_Record(XRCID_Records[i]);
|
||||
XRCID_Records[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static void AddStdXRCID_Records()
|
||||
@ -1286,5 +1289,3 @@ void wxXmlInitResourceModule()
|
||||
module->Init();
|
||||
wxModule::RegisterModule(module);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user