FindObjects doesn't work in PseudoDC on Mac

Brian Christensen brianzz at earthlink.net
Thu Sep 20 21:05:26 PDT 2007


I've found what appears to be an bug in the FindObjects method of  
PseudoDC on the Mac.

FindObjects is supposed to find all of the ID's that draw on a  
particular pixel. It appears to be returning any ID whose bounding  
box contains the pixel.

This can be demonstrated by using wxPythonDemo. Run the Miscellaneous  
-> PseudoDC demo. When you try to drag a line on the Windows version  
you must click on or very near the line or it won't drag. On the Mac  
you can drag from anywhere in the bounding box.

I am using wxPython 2.8.4.2 and Python 2.4 on Mac OSX 10.4.10.

Any suggestions for a work around?





More information about the wxpython-mac mailing list