#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif
-#include <wx/wxexpr.h>
+#include <wx/deprecated/setup.h>
+#include <wx/deprecated/wxexpr.h>
#include "studio.h"
#include "doc.h"
int viewStartX, viewStartY;
int unitX, unitY;
- GetShape()->GetCanvas()->ViewStart(& viewStartX, & viewStartY);
+ GetShape()->GetCanvas()->GetViewStart(& viewStartX, & viewStartY);
GetShape()->GetCanvas()->GetScrollPixelsPerUnit(& unitX, & unitY);
int x1 = (int)(x * GetShape()->GetCanvas()->GetScaleX());