1. win32lib v0.57.9 bug (onPaint rect)
- Posted by "Thomas Parslow (PatRat)" <tom at almostobsolete.net> Jun 27, 2002
- 410 views
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