access child elements

hi,

I had a wx.Panel inside a wx.Notebook widget.
How to access wx.Panel widget when event EVT_NOTEBOOK_PAGE_CHANGED is
fired

Thanks in advance.

Rashad wrote:

hi,

I had a wx.Panel inside a wx.Notebook widget.
How to access wx.Panel widget when event EVT_NOTEBOOK_PAGE_CHANGED is
fired

Thanks in advance.

notebook.GetPage(page_number)
You can find the number from Event.GetSelection()/GetOldSelection

..or using GetCurrentPage()

ยทยทยท

--
Steven Sproat, BSc
http://www.basicrpg.com/