Feb-18-2019, 12:31 AM
(Feb-17-2019, 05:04 PM)Yoriz Wrote: When you close a tab it is destroyed, you cant re-open it, in the open_tab event, code will have to be added to create a new tab.But how could I do it?, since I only have this information
Documentation
of this more I have been struck by the following
EVT_AUINOTEBOOK_PAGE_CLOSE: --> A page is about to be closed. Processes a wxEVT_AUINOTEBOOK_PAGE_CLOSE event. EVT_AUINOTEBOOK_PAGE_CLOSED(winid, fn): --> A page has been closed. Processes a wxEVT_AUINOTEBOOK_PAGE_CLOSED event.I plan to use the following
RemovePage
but this only closes the tab but not its content and then I use the following to open the tab
AddPage