wxWidgets/include
Vadim Zeitlin 5a25d8d55a Don't allocate way too much memory in wxVector::reserve().
We multiplied the number of items by the size of each element twice, once in
wxVector::reserve() itself and once in Ops::Realloc() it called, so we
allocated much more memory than actually needed.

Fix this by passing the number of elements to Ops::Realloc().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-11-19 13:13:22 +00:00
..
msvc/wx Only auto-link wsock32.dll if net library is used. 2013-10-14 15:08:18 +00:00
wx Don't allocate way too much memory in wxVector::reserve(). 2013-11-19 13:13:22 +00:00