From ea4508252199a29ebdcabc5b8137e360c3ec4938 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 31 Jan 2002 23:13:06 +0000 Subject: [PATCH] Applied hash copy fix, BC++ makefile fix (though not the lib setup.h one we need to do). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/msw/tmake/b32.t | 8 +++++++- src/common/hash.cpp | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/distrib/msw/tmake/b32.t b/distrib/msw/tmake/b32.t index 4cfcc9d937..fc58f34219 100644 --- a/distrib/msw/tmake/b32.t +++ b/distrib/msw/tmake/b32.t @@ -158,7 +158,13 @@ OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) default: wx -wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) +wx: setuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) + +# TODO: put the setup.h under lib +setuph: + cd $(WXDIR)\include\wx\msw + if not exist setup.h copy setup0.h setup.h + cd $(WXDIR)\src\msw all: wx diff --git a/src/common/hash.cpp b/src/common/hash.cpp index e8c47429f2..1c268e7c97 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -370,6 +370,7 @@ bool wxHashTable::Create(int the_key_type, int size) void wxHashTable::DoCopy(const wxHashTable& table) { n = table.n; + m_count = table.m_count; current_position = table.current_position; current_node = NULL; // doesn't matter - Next() will reconstruct it key_type = table.key_type;