remove unused #defines; fix include header for MinGW32 wxMSW Trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
09b67c660c
commit
3cc7596e6c
@ -22,7 +22,7 @@
|
|||||||
#include "wx/xml/xml.h"
|
#include "wx/xml/xml.h"
|
||||||
#include "wx/wfstream.h"
|
#include "wx/wfstream.h"
|
||||||
#include "wx/arrimpl.cpp"
|
#include "wx/arrimpl.cpp"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/hashmap.h"
|
||||||
#include "wx/filename.h"
|
#include "wx/filename.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -31,8 +31,6 @@
|
|||||||
|
|
||||||
#define PROGRESS_RATE 1000 // each PROGRESS_RATE nodes processed print a dot
|
#define PROGRESS_RATE 1000 // each PROGRESS_RATE nodes processed print a dot
|
||||||
#define ESTIMATED_NUM_CLASSES 600 // used by both wxXmlInterface-derived classes to prealloc mem
|
#define ESTIMATED_NUM_CLASSES 600 // used by both wxXmlInterface-derived classes to prealloc mem
|
||||||
#define ESTIMATED_NUM_TYPES 50000 // used only by wxGccXmlInterface to prealloc mem
|
|
||||||
#define ESTIMATED_NUM_FILES 800 // used only by wxGccXmlInterface to prealloc mem
|
|
||||||
|
|
||||||
WX_DEFINE_OBJARRAY(wxTypeArray)
|
WX_DEFINE_OBJARRAY(wxTypeArray)
|
||||||
WX_DEFINE_OBJARRAY(wxMethodArray)
|
WX_DEFINE_OBJARRAY(wxMethodArray)
|
||||||
@ -460,14 +458,12 @@ bool wxXmlGccInterface::Parse(const wxString& filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
wxToResolveTypeHashMap toResolveTypes;
|
wxToResolveTypeHashMap toResolveTypes;
|
||||||
//wxArrayString arrMemberIds;
|
|
||||||
wxClassMemberIdHashMap members;
|
wxClassMemberIdHashMap members;
|
||||||
wxTypeIdHashMap types;
|
wxTypeIdHashMap types;
|
||||||
wxTypeIdHashMap files;
|
wxTypeIdHashMap files;
|
||||||
|
|
||||||
// prealloc quite a lot of memory!
|
// prealloc quite a lot of memory!
|
||||||
m_classes.Alloc(ESTIMATED_NUM_CLASSES);
|
m_classes.Alloc(ESTIMATED_NUM_CLASSES);
|
||||||
//arrMemberIds.Alloc(ESTIMATED_NUM_TYPES);
|
|
||||||
|
|
||||||
// build a list of wx classes and in general of all existent types
|
// build a list of wx classes and in general of all existent types
|
||||||
child = doc.GetRoot()->GetChildren();
|
child = doc.GetRoot()->GetChildren();
|
||||||
|
Loading…
Reference in New Issue
Block a user