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 ?