[wx-dev] wxMac 2.8 branch: wxHtmlWindow displays mirrored vertically

Robin Dunn robin at alldunn.com
Fri Jun 1 17:46:09 PDT 2007


Robin Dunn wrote:
> Stefan,
> 
> Not sure what is going on here, but take a look at this: 
> http://alldunn.com/temp/weird2.png
> 
> 
> This is the "View as HTML" option in the richtext sample.  As you can 
> see the content of the wxHtmlWindow is inverted.  Now here is the really 
> weird part:  If I click the scroll down button or press the down cursor 
> key then after the refresh the window is scrolled and drawn normally. If 
> I scroll it down another step then it is inverted again.  It goes back 
> and forth like that through the whole length of the html content. The 
> main wxHtmlWindow samples appear to be doing it too, but other 
> wxScrolledWindows appear to be fine.

Looks like it has something to do with the change in rev 1.29.4.1 of 
src/mac/carbon/dcmemory.cpp.  Reverting that change fixes the problem. 
Is it needed or is there a better way to make the change?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list