Użytkownik Paul McNett napisał: > dabo Commit > Revision 5649 > Date: 2010-02-04 21:56:58 -0800 (Thu, 04 Feb 2010) > Author: Paul > Trac: http://trac.dabodev.com/changeset/5649 > > Changed: > U trunk/dabo/ui/dDataControlMixinBase.py > > Log: > With the last change to better handle Destroy, we can directly access > self.Value > from within __onDestroy, allowing saveValue() to work again. > > > Diff: > Modified: trunk/dabo/ui/dDataControlMixinBase.py > =================================================================== > --- trunk/dabo/ui/dDataControlMixinBase.py 2010-02-05 05:56:05 UTC (rev > 5648) > +++ trunk/dabo/ui/dDataControlMixinBase.py 2010-02-05 05:56:58 UTC (rev > 5649) > @@ -269,9 +269,7 @@ > if self._DesignerMode: > # Don't bother in design mode. > return > - # It is too late to get Value directly (since we are being > called from Destroy, and wx > - # has already released the C++ part of the object). > - value = self._value > + value = self.Value > if self.Application: > if self.RegID: > name = "%s.%s" % (self.Form.Name, self.RegID) >
This commit should be reverted because it raises C++ exception as stated in comment. -- Regards Jacek Kałucki _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
