Author: manolo
Date: 2012-04-04 06:46:34 -0700 (Wed, 04 Apr 2012)
New Revision: 9319
Log:
Fix FLTK 1 compat bugs of crashes when closing windows.
Modified:
branches/branch-3.0/src/fltk3/Widget.cxx
Modified: branches/branch-3.0/src/fltk3/Widget.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/Widget.cxx 2012-04-04 13:45:22 UTC (rev
9318)
+++ branches/branch-3.0/src/fltk3/Widget.cxx 2012-04-04 13:46:34 UTC (rev
9319)
@@ -400,6 +400,9 @@
pVCalls |= pVCallDtor;
delete _p;
}
+ else if (_p) {
+ _p->wrapper(NULL);
+ }
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit