When I first wrote this program three or four years ago, it worked just fine. Now that I’ve upgraded to wxPython 3.0, (and possibly an earlier version), the DC.CrossHair method doesn’t seem to be working.
In the attached sample, I’m using a MemoryDC and a ClientDC to trace the mouse movement and read pixel data.
When I revisited this code, the crosshairs don’t show up.
When I first wrote this program three or four years ago, it worked just
fine. Now that I've upgraded to wxPython 3.0, (and possibly an earlier
version), the DC.CrossHair method doesn't seem to be working.
In the attached sample, I'm using a MemoryDC and a ClientDC to trace the
mouse movement and read pixel data.
When I revisited this code, the crosshairs don't show up.
Windows 7, python 2.7.8, wxPython 3.0.1.1.
Any ideas? Has the API Changed?
I don't know what is going on with CrossHair on MSW, (it still works on OSX at least.) However replacing the call to CrossHair with 2 calls to DrawLines is simple enough.
On Mon, Oct 13, 2014 at 5:17 PM, Robin Dunn <robin@alldunn.com> wrote:
Josh English wrote:
When I first wrote this program three or four years ago, it worked just
fine. Now that I've upgraded to wxPython 3.0, (and possibly an earlier
version), the DC.CrossHair method doesn't seem to be working.
In the attached sample, I'm using a MemoryDC and a ClientDC to trace the
mouse movement and read pixel data.
When I revisited this code, the crosshairs don't show up.
Windows 7, python 2.7.8, wxPython 3.0.1.1.
Any ideas? Has the API Changed?
I don't know what is going on with CrossHair on MSW, (it still works on OSX
at least.) However replacing the call to CrossHair with 2 calls to
DrawLines is simple enough.
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.