I'm utilizing the Multi Column List (MCL) with std::shared_ptr<CEGUI::ListboxTextItem> for being able to manage my own memory pieces, I've set the auto_delete = false. I'm currently simply attempting to just remove and clear my MCL.
I first tried to do a:
Code: Select all
MCL->resetList()
Code: Select all
for (unsigned j = 0; j < gamesList->getRowCount(); ++j)
{
gamesList->removeRow(gamesList->getRowID(j));
}
and likewise, that isn't removing anything from my MCL of ListboxTextItem that have auto_delete = false. (I haven't tried it yet setting auto_delete = true), however I would prefer to manage my own object.
Thank you for any insight.