I tried not connecting 'wxEVT_COMMAND_FLATNOTEBOOK_PAGE_CLOSING' to a function, but when clicking the close button on the current page closes it. Is there a way to stop the page from being removed?
EDIT: or a style to keep a page on the notebook from being removed?
EDIT: or a style to keep a page on the notebook from being removed?