weakrefs and _wxPyDeadObjec
Oswaldo Hernández
listas at soft-com.es
Wed Feb 27 06:45:46 PST 2008
Hello all,
I'm using a list of weakrefs to wx.Frames for a list of current active frames.
But, when a Frame is closed the weakref returns a _wxPyDeadObject instead None.
The weakrefs can do a callback when an object is deleted and i'm trying to use it to remove the
frame in active frames list, but the callback is not raised because the weakref is alive.
How can avoid this problem?
Thanks
--
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************
PD:
Antes de imprimir este mensaje, asegúrese de que es necesario.
El medio ambiente está en nuestra mano.
More information about the wxpython-users
mailing list