How do you delete all the objects off an a2dCanvas?

In previous builds, we used to do this simply by requesting the root 
from the a2dCanvas (which at that time returned an a2dCanvasDocument), 
and then calling DeleteContents(). But now a2dCanvas does not have a 
method for that.

Now, I don't see ANY way to get an a2dCanvasDocument, except through an 
a2dCanvasView. But you can only get an a2dCanvasView from an 
a2dViewCanvas. And to construct an a2dViewCanvas, you have to have an 
a2dCanvasView!

So what is the new equivalent of the old 
a2dCanvas::GetRoot()->DeleteContents()?

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to