All pastes #427595 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-06 21:34 UTC
rendered paste body
UpdatableSoftwares = new wxArrayString();



wxString DEBUG;
astring is a wxArrayString aswell with three wxString in it
PosInUpdatableCheckListBox is an int incremented everytime we go through this code.
i is an int incremented everytime we go through this code.

UpdatableSoftwares->Add(astring.Item(i), PosInUpdatableCheckListBox);
DEBUG.sprintf("getcount = %d", UpdatableSoftwares->GetCount());
wxMessageBox(DEBUG, astring.Item(i), wxOK);


The message box that appears shows on the top what I expected to be in astring.Item(i)
but DEBUG shows getcount = 0 !!! ???

Why ?