Hi,
I got a problem when dealing with event of Notebook.
I bind EVT_NOTEBOOK_PAGE_CHANGED of notebook event to my handler. The
document said
"The page selection was changed. Processes a
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event. "
But I found that, when the handler is invoked, the notebook did't
really changed the page, and if you don't skip the event, the page is
not changed indeed. At this moment, if you call GetCurrentPage of
notebook, you get None.
That's so strange, why the notebook doesn't act just like document
said, invoked EVT_COMMAND_NOTEBOOK_PAGE_CHANGED when the page is
"really" changed? Why I have to skip the event so that the page is
changed? So, how can I do something that I want to do when the page is
"really changed"?
Thanks.
Victor Lin.