howto: OK button in child window

hello again,

i have a 'file-open' dialog that has a treebook as a child. what do i
have to do if i want to put the OK button in a page of the treebook?
i guess this is an event handling question?

actually, i'll want a number of 'OK' buttons - one for each page in the book.

thanks-for-helping-a-newbie-ly yours,

jack

Jack Andrews wrote:

hello again,

i have a 'file-open' dialog that has a treebook as a child. what do i
have to do if i want to put the OK button in a page of the treebook?
i guess this is an event handling question?

actually, i'll want a number of 'OK' buttons - one for each page in the book.

Just add a button with an ID of wx.ID_OK to each page window.

ยทยทยท

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