Hi Juho, I can't reproduce this. Could you attach an action list and an example image? Also exactly describe the steps to reproduce as this might be dependent on what you did before as it doesn't reproduce out of the box. I try a possible fix as well and push it upstream. So try again.
$ bzr commit -m "avoid dead object"
Committing to: /home/stani/sync/python/phatch/trunk/
modified phatch/pyWx/lib/popup.py
Committed revision 767.
Hi Juho, I can't reproduce this. Could you attach an action list and an example image? Also exactly describe the steps to reproduce as this might be dependent on what you did before as it doesn't reproduce out of the box. I try a possible fix as well and push it upstream. So try again.
$ bzr commit -m "avoid dead object" sync/python/ phatch/ trunk/ pyWx/lib/ popup.py
Committing to: /home/stani/
modified phatch/
Committed revision 767.
$ bzr diff -r-2 pyWx/lib/ popup.py' pyWx/lib/ popup.py 2009-06-12 03:53:32 +0000 pyWx/lib/ popup.py 2009-06-13 11:41:54 +0000
wx.CallAfter( self.OnAfterCha nge)
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -121,7 +121,8 @@
def OnAfterChange( self): change( unicode( self.Get( ))) change( unicode( self.Get( )))
- self.on_
+ if self:
+ self.on_
class TextCtrl( _CtrlChoices, wx.ComboBox) : _(self, parent, value,id= -1,choices= None,** keyw):
def __init_