Different behaviour between wx2.6 and wx2.8
Frank Aune
Frank.Aune at broadpark.no
Wed Apr 25 00:15:04 PDT 2007
Hi,
I have a program containing tabs, and Ive got an EVT_NOTEBOOK_PAGE_CHANGED
event handler installed for when a page changes. The event handler is used to
initiate an object from a class corresponding to the current tab.
This works as intended for wx-2.6, but when trying the same code with wx-2.8 I
experience the following difference:
On program shutdown, the last thing done somehow is EVT_NOTEBOOK_PAGE_CHANGED
being generated for all of the tabs available. It will start at the
right-most tab and generate events for all tabs all the way to the last
left-side tab, and then close the application.
My only option so far, is to unbind the EVT_NOTEBOOK_PAGE_CHANGED during
shutdown routine, but Im still curious as to why I see this different in
behaviour from wx-2.6 to wx-2.8.
Any inightful comments are appreciated!
Best regards,
Frank Aune
More information about the wxpython-users
mailing list