Keep order of nodes when wxHashMap is resized; this ensures

that wxHashTable has the same behaviour when wxUSE_STL=1 as
when wxUSE_STL=0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-08-20 16:59:17 +00:00
parent 6f2ec3c3de
commit 8ae94823a3
3 changed files with 34 additions and 6 deletions

View File

@@ -1151,7 +1151,7 @@ static void TestHash()
wxPuts(_T("*** Testing wxHashTable ***\n"));
{
wxHashTable hash(wxKEY_INTEGER), hash2(wxKEY_STRING);
wxHashTable hash(wxKEY_INTEGER, 10), hash2(wxKEY_STRING);
wxObject o;
int i;