oglPopupDivisionMenu->Enable(DIVISION_MENU_EDIT_TOP_EDGE, FALSE);
int x1, y1;
- m_canvas->ViewStart(&x1, &y1);
+ m_canvas->GetViewStart(&x1, &y1);
int unit_x, unit_y;
m_canvas->GetScrollPixelsPerUnit(&unit_x, &unit_y);
}
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;
}
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;