I've recently started the build/port process to 2.8.9.
A bit late, but hey ;-)
Since my recently Update of Ubuntu to 8.10 and its new gcc, I thought I would start there.
Already it has thrown up a surprise on GTK, which was not present in previous versions :
Run the listctrl sample, and quit. Oops. Exception is thrown.
Apparently some events are now being fired AFTER the window object is destroyed...
Either :
1) This is a wxWidgets bug.
2) This is a wxWidgets bug because of changed functionality in newer GTK.
3) I should be disconnecting all event handlers when the window is freed.
Okay, I admit that perhaps option 3 is most obviously the correct answer, but this is a new issue - it never happened on any platform until now.
I have a fix (read hack) which simply chooses to ignore raised events for handlers which have been freed...
Fun fun.
The rollout may take a little longer than previously estimated ;-)
A bit late, but hey ;-)
Since my recently Update of Ubuntu to 8.10 and its new gcc, I thought I would start there.
Already it has thrown up a surprise on GTK, which was not present in previous versions :
Run the listctrl sample, and quit. Oops. Exception is thrown.
Apparently some events are now being fired AFTER the window object is destroyed...
Either :
1) This is a wxWidgets bug.
2) This is a wxWidgets bug because of changed functionality in newer GTK.
3) I should be disconnecting all event handlers when the window is freed.
Okay, I admit that perhaps option 3 is most obviously the correct answer, but this is a new issue - it never happened on any platform until now.
I have a fix (read hack) which simply chooses to ignore raised events for handlers which have been freed...
Fun fun.
The rollout may take a little longer than previously estimated ;-)