This is how I add custom data with string one by one:
myWxListBox->Append(myString, (void*)&myVariableInVector);
How to preadd custom data into void** (no C malloc stuff etc) and then add it at once into wxListBox?
I cannot simply call myWxListBox->Append(myWxArrayString, myVector);
I have about 11 000 items to add and the list needs to be refreshed repeatedly as the shown items change.Appends several items at once into the control.
Notice that calling this method is usually much faster than appending them one by one if you need to add a lot of items.