Hello,
I am having problems retrieving text from a line in a wxListCtrl. I'm trying to use OnGetItemText, but I keep getting errors saying I'm using it in the wrong context.
Here is my code:
void MyFrame::OnGetItemText(long item, long column) const {
wxString[] itemText;
for(column = 0; column < ctrlCurrentFunctions->GetColumnCount(); column++) {
itemText[column] = ctrlCurrentFunctions->OnGetItemText(item, column);
}
wxMessageBox(itemText[0] + column[1] + column[2]);
}
Can anybody help me out with this?
Thanks in advance! econder
|