kicad-developers team mailing list archive
Mailing list archive
Crash on closing with wx-2.9
"Marco Serantoni" <marco.serantoni@...>
Sun, 19 Jul 2009 22:59:49 -0000
I think is self explantory...
During the destruction of the statusbar and the other perimetral objects OnPaints events are enqueued, happens that those events are handled and crashhappens.
--- common/basicframe.cpp (revision 1880)
+++ common/basicframe.cpp (working copy)
@@ -68,6 +68,10 @@
if( wxGetApp().m_HtmlCtrl )
wxGetApp().m_HtmlCtrl = NULL;
+ /* This needed for OSX: avoids furter OnDraw processing after this destructor
+ and before the native window is destroyed */