]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied hash copy fix, BC++ makefile fix (though not the lib setup.h one we need...
authorJulian Smart <julian@anthemion.co.uk>
Thu, 31 Jan 2002 23:13:06 +0000 (23:13 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 31 Jan 2002 23:13:06 +0000 (23:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/tmake/b32.t
src/common/hash.cpp

index 4cfcc9d9371c18e9e3f65e6bff9e79bfe847d751..fc58f342195b00a587d1be495486ceb07d7f2adc 100644 (file)
@@ -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
 
index e8c47429f275791f8498c9eea66b0b48bb02847e..1c268e7c97c6c1897933073d8873ee00fbc8c9ef 100644 (file)
@@ -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;