the number of boxes varies each time, and I need to find on close which ones are checked
normally this is done by finding the window by Id , like 'ID_CHECKBOX_1' in
Code: Select all
wxCheckBox* const cb = (wxCheckBox*)FindWindow(ID_CHECKBOX_1);
if (cb->IsChecked())
Is there a way to solve this ?