1. win32lib v0.57.9 bug (onPaint rect)

Hi,

In the new win32lib the onPaint handler is passed an incorrect
rectangle (x2 and y2 are always 0). To fix replace:

lUpdateRect = fetch( rect, psPaintRect )

in fDoPaint (line 22601) with:

     lUpdateRect = {  fetch( rect, rectLeft   ),
         fetch( rect, rectTop    ),
         fetch( rect, rectRight  ),
         fetch( rect, rectBottom ) }

(I got that code fragment from previous win32lib versions)

Hope this can be fixed soon :)
         
Thomas Parslow (PatRat)
E-Mail/Jabber: tom at almostobsolete.net
ICQ: 26359483

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu