inserting element of wxArrayString back into array
|Reported by:||aebailey||Owned by:||vadz|
This code causes a memory access violation:
Insert() has a reference to a wxString, which gets moved
during Grow(). The reference is then invalid. This only
happens if you try to insert enough items to cause a
reallocation of the internal array.
I have seen this problem with wxWidgets 2.4.2 and
2.5.3, and it doesn't look like 2.5.4 fixes it.
Change History (15)
comment:2 Changed 8 years ago by wojdyr
- Component set to base
- Keywords wxArrayString added
- Status changed from new to confirmed