I got this error when I clicked on a wxGenBitmapToggleButton in my app. I
may have slide off the edge of the button before the mouse up event.
Perhaps an hasattr test is in order.
File "/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/buttons.py", line 460, in OnLeftUp
if self.up != self.saveUp:
AttributeError: wxGenBitmapToggleButton instance has no attribute 'saveUp'
Nigel
···
--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov
I got this error when I clicked on a wxGenBitmapToggleButton in my app. I
may have slide off the edge of the button before the mouse up event. Perhaps an hasattr test is in order.
File "/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/buttons.py", line 460, in OnLeftUp
if self.up != self.saveUp:
AttributeError: wxGenBitmapToggleButton instance has no attribute 'saveUp'
Can you reliably reproduce the problem? If so can you create a patch that fixes it?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Strangely, I can't reproduce the error! But I will patch it if it returns.
Nigel
···
On Thu, 23 Jan 2003 13:24:17 -0800 Robin Dunn <robin@alldunn.com> wrote:
Nigel Moriarty wrote:
> Robin
>
> I got this error when I clicked on a wxGenBitmapToggleButton in my
app. I
> may have slide off the edge of the button before the mouse up event.
> Perhaps an hasattr test is in order.
>
> File
"/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/bu
ttons.py", line 460, in OnLeftUp
> if self.up != self.saveUp:
> AttributeError: wxGenBitmapToggleButton instance has no attribute
'saveUp'
>
Can you reliably reproduce the problem? If so can you create a patch
that fixes it?
--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov