Update of /cvsroot/pycrust/PyCrust
In directory sc8-pr-cvs1:/tmp/cvs-serv14693
Modified Files:
filling.py
Log Message:
Minor tweak with None object
Index: filling.py
===================================================================
RCS file: /cvsroot/pycrust/PyCrust/filling.py,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** filling.py 1 Apr 2003 00:09:06 -0000 1.56
--- filling.py 7 Apr 2003 22:15:13 -0000 1.57
***************
*** 167,172 ****
self.setText('')
obj = self.GetPyData(item)
! if obj is None: # Windows bug fix.
! return
self.SetItemHasChildren(item, self.objHasChildren(obj))
otype = type(obj)
--- 167,173 ----
self.setText('')
obj = self.GetPyData(item)
! if wx.wxPlatform == '__WXMSW__':
! if obj is None: # Windows bug fix.
! return
self.SetItemHasChildren(item, self.objHasChildren(obj))
otype = type(obj)
|