I don't really understand why it dosn't work ?? because a2dCanvasView own a
pointer on a2dCanvas and a2dcanvasSim dosn't derive from a2dcanvas ??
a2dCanvasSim is derived indirectly from wxScrolledWindow, while a2dCanvas
is derived from wxWindow.
if have not seen a chance to have thos use a common base class.
So they derive both from wxWindow no ? cause wxScrollerWindow derive from
wxWindow, does it really deal with the problem ?
At the moment i can display a a2dcanvasim and use polyline tool on him but
zoom seems to bug (perhaps it's about what you was explaining)
Well if I use a2dCanvas my canvas won't be "scrollable" anymore I guess ???
:/
Another question :-)
If i made 2 canvas i have to make two toolController one for each no? and
how to get the controller from view I searsch in the doxygen api doc but
didn't found a straight way to make it
Laurent
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wxart2d-users_dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev