fixed a serious bug in Shrink()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-03-10 18:11:15 +00:00
parent 720d270f0e
commit f79cf03477
2 changed files with 2 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ wxBase
- compilation with wxUSE_ODBC=1 fixed (dbkeyg.h file was missing in the archive)
- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
- fixed bug in wxArray::Shrink() (Seth Manley)
wxGTK:

View File

@@ -189,6 +189,7 @@ void name::Shrink() \
memcpy(pNew, m_pItems, m_nCount*sizeof(T)); \
delete [] m_pItems; \
m_pItems = pNew; \
m_nSize = m_nCount; \
} \
} \
} \