[wxPython-users] Changes in ClientDC on OS-X

Christopher Barker Chris.Barker at noaa.gov
Mon Dec 10 17:16:06 PST 2007


Andrea Gavana wrote:
>> Alternative implementation enclosed
> 
> I hope the implementation is Mac-specific, because on Windows it
> flickers like mad :-D

Darn -- no I was hoping it was not platform specific. I think we could 
clean it up on Windows though -- but I only tested in on a Mac so far. 
Doing something with EVT_ERASE_BACKGROUND or something might fix it.

> However, it seems like (at least in the DC area), wxMac is parting
> from the platform-indipendent approach which is the core of wxWidgets.

Well, yes and no. The newer versions of wxMac use CoreGraphics, which is 
a probably better drawing paradigm. It's what's causing these issues. 
However, In poking around the wxOverlay stuff (which I still don't get 
at all) -- there are comments referring to both wxMac and Windows XP -- 
so I think once everything is moved to the more modern interfaces, we'll 
be better off. But the transition is painful.

Any know of any more docs or examples for wxOverlay? The C++ headers are 
useless to me. -- have I know idea what methods it's supposed to have or 
anything.

-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