[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue-designer/src/base/tools PropertyEditor.py
From: |
Jason Cater |
Subject: |
gnue-designer/src/base/tools PropertyEditor.py |
Date: |
Tue, 15 Jul 2003 17:22:43 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue-designer
Branch:
Changes by: Jason Cater <address@hidden> 03/07/15 17:22:43
Modified files:
src/base/tools : PropertyEditor.py
Log message:
get rid of another wxPyDeadObjectError
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-designer/src/base/tools/PropertyEditor.py.diff?tr1=1.47&tr2=1.48&r1=text&r2=text
Patches:
Index: gnue-designer/src/base/tools/PropertyEditor.py
diff -c gnue-designer/src/base/tools/PropertyEditor.py:1.47
gnue-designer/src/base/tools/PropertyEditor.py:1.48
*** gnue-designer/src/base/tools/PropertyEditor.py:1.47 Fri Jun 13 17:12:32 2003
--- gnue-designer/src/base/tools/PropertyEditor.py Tue Jul 15 17:22:43 2003
***************
*** 400,413 ****
wxComboBox.SetValue(self, value)
def updateList(self):
! self.Clear()
! self.list = []
! if not (self.attributes.has_key('Required') and
self.attributes['Required'] ):
! self.list.append(None)
! self.Append('')
! for v in self.objectList:
! self.list.append(v[self.attr])
! self.Append("%s" % v[self.attr])
#
# Property editor for boolean types
--- 400,418 ----
wxComboBox.SetValue(self, value)
def updateList(self):
! try:
! self.Clear()
! self.list = []
! if not (self.attributes.has_key('Required') and
self.attributes['Required'] ):
! self.list.append(None)
! self.Append('')
! for v in self.objectList:
! self.list.append(v[self.attr])
! self.Append("%s" % v[self.attr])
! except wxPyDeadObjectError:
! # TODO: why are we getting this exception?
! # TODO: Destroy() is being explicitly called. :(
! pass
#
# Property editor for boolean types
- gnue-designer/src/base/tools PropertyEditor.py,
Jason Cater <=