X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..2dace059ee7aefeea0f2b843f1808b117f112795:/contrib/src/ogl/composit.cpp diff --git a/contrib/src/ogl/composit.cpp b/contrib/src/ogl/composit.cpp index ba237db51f..6dbc6190a7 100644 --- a/contrib/src/ogl/composit.cpp +++ b/contrib/src/ogl/composit.cpp @@ -1747,7 +1747,7 @@ void wxDivisionShape::PopupMenu(double x, double y) 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);