On 03/10/2012 12:45 PM, Daniel Laird wrote:
> All,
>
> I am new to wxWidgets and have used wxAuiNotebook.
> I have written my own panel class that extends wx.Panel
>
> I can add this to the widget using AddPage.
> However, when I call GetPage it returns something of type wx.Panel
> which means I cant call any functions in my class.
>
> Has anyone got any ideas on how to get around this?
> I am using 2.8.11 of wxWidgets on Ubuntu 10.04
>
> Cheers
> Dan Laird
> --
> To unsubscribe, send email to
wxPython-user...@googlegroups.com
> or visit
http://groups.google.com/group/wxPython-users?hl=en
I think that the problem might be that if you have not implemented a
YourPane.GetPage you will inherit wx.Panel.GetPage which returns the
wx.Panel. Try adding a GetPage to your class.
Gadget/Steve