notebook AddPage() function seems only to store wx base class objects

Paul McNett wrote:

Robin Dunn writes:

notebook.GetPage(bla bla)

I will get a ogl.ShapeCanvas object back, and any
DrawingBoard derived class methods are not found!!

Now is there any way around this? Or is this a bug?

It's a bug and it has already been fixed for the next
release.

Hmm... I don't seem to have this problem.

It wasn't a problem with GetPage, but with ogl.ShapeCanvas. It wasn't remembering its original proxy object and so the wrapper code was generating a new one for it based on the C++ type.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!