1. Is this proper/legitimate way:
Code: Select all
MyDialog::MyDialog(...)
{
m_myListBiox = new wxListBix( ... );
......
}
void MyDialog::SomeFunc()
{
wxString test = "data";
m_myListBox->Append( "String1", &test );
}
I know I should use pointer to set the client data, but its just an overkill for such simple case.
Thank you.