On 11/08/2016 09:59 PM, Mike Gibson wrote:
> So what is the new equivalent of the old
> a2dCanvas::GetRoot()->DeleteContents()?


a2dCanvas now has just an a2dDrawing. So no a2dDocument involved anymore

You could even do without anything dealing with the docview stuff, in your case.

     a2dDrawing::GetRootObject()->ReleaseChildObjects();

Don't know how you create the a2dCanvas, but the drawing is available.

Klaas


------------------------------------------------------------------------------
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