replace wxHashTable with a type safe hash map of Window to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
|
||||
extern wxList wxPendingDelete;
|
||||
|
||||
wxHashTable *wxWidgetHashTable = NULL;
|
||||
wxHashTable *wxClientWidgetHashTable = NULL;
|
||||
wxWindowHash *wxWidgetHashTable = NULL;
|
||||
wxWindowHash *wxClientWidgetHashTable = NULL;
|
||||
|
||||
static bool g_showIconic = FALSE;
|
||||
static wxSize g_initialSize = wxDefaultSize;
|
||||
@@ -203,8 +203,8 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding());
|
||||
#endif
|
||||
|
||||
wxWidgetHashTable = new wxHashTable(wxKEY_INTEGER);
|
||||
wxClientWidgetHashTable = new wxHashTable(wxKEY_INTEGER);
|
||||
wxWidgetHashTable = new wxWindowHash;
|
||||
wxClientWidgetHashTable = new wxWindowHash;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user