Michael Stratmann wrote: > because > a2dCanvas (a2dCanvasView *view, wxWindow *parent, wxWindowID id=-1, const > wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long > style=wxScrolledWindowStyle) > requires a2dCanvasView * as first param, but gets only a2dView*, a type cast > is missing. > > I hacked line 3269 with a dynamic cast to a2dCanvasView, so the right > constructor gets used. Now it compiles and I get multiple canvas inside my > auinotebook. :-) > > What is the proper solution, library hacking should not be needed? > I think an extra template parameter. Can you give that a try. I don't have a a2dCanvas using a notebook i think.
Many ways to Rome :-) > Viele Grüße, Michael > > PS: Klaas, where is that mars application? > wxArt2d/apps/mars > > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev