}
int ListBox::Length() {
- return ((wxListBox*)id)->Number();
+ return ((wxListBox*)id)->GetCount();
}
void ListBox::Select(int n) {
int ListBox::Find(const char *prefix) {
if (prefix) {
- for (int x=0; x < ((wxListBox*)id)->Number(); x++) {
+ for (int x=0; x < ((wxListBox*)id)->GetCount(); x++) {
wxString text = ((wxListBox*)id)->GetString(x);
if (text.StartsWith(prefix))
return x;