Changes in ClientDC on OS-X

Christopher Barker Chris.Barker at noaa.gov
Mon Dec 10 12:34:27 PST 2007


Hi all,

I've just noticed that some of my use of wx.ClientDC is now broken in OS-X.

I use it to draw stuff temporarily with the mouse on top of whatever is 
there, usually using wx.XOR, so that I can draw twice to get the 
original image back. I haven't had a chance yet to make a simple sample 
to examine it, but it's broken a bunch of stuff in FloatCanvas.

For example, in almost all FloatCanvas samples, when you click on the 
Zoom in button, then drag with the left mouse button, you should get a 
dotted-line rubber-band box. It works on Windows and GTK, but I no 
longer get the rubber band box on OS-X. I'm not entirely sure when this 
broke -- I'm running 2.8.7.1 (mac-unicode) now (the latest)

Sound familiar? Anyone know how to fix it?

thanks,
-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list