Win32Lib Bug (setBackColor)
- Posted by "Thomas Parslow (PatRat)" <tom at almostobsolete.net> Apr 09, 2002
- 374 views
Hi, I think I've spotted a bug in the latest version of win32lib. setBackColor gets a DC for the window but never releases it. To fix, add: releaseDC( id ) to the end of setBackColor. This bug is a particular problem because setBackColor is called from openWindow, it causes the memory use of the application to grow quite a bit (in my app anyway) and causes instability. Thomas Parslow (PatRat) E-Mail/Jabber: tom at almostobsolete.net ICQ: 26359483