@jens
All methods work correctly on my system.
Soon, I will provide a 'wizard.script' example.
To save with 'Config Manager', I would need:
void SetCheckListboxChecked(const wxString& name, wxString listname);
/// LETARTARE
void Wiz::SetCheckListboxChecked(const wxString& name, wxString listname )
{
wxWizardPage* page = m_pWizard->GetCurrentPage();
if (page)
{
wxCheckListBox* clb = dynamic_cast<wxCheckListBox*>(page->FindWindowByName(name, page));
if (clb && !listname.IsEmpty())
{
/// clear checked
unsigned int i;
for (i = 0; i < clb->GetCount() ; i++ )
clb->Check(i, false) ;
/// format listname "1;4;7;"
char sep = ';';
unsigned long pos;
/// checked
while (!listname.IsEmpty()) {
listname.BeforeFirst(sep).ToULong(&pos);
clb->Check(pos, true) ;
listname = listname.AfterFirst(sep) ;
}
}
}
}
is that correct ?