Whenever a dialog is opened and closed the GDI count goes up by one.
The attached patch fixes this by deleting the allocated region.
tobiasschaefer@gmx.de
Logged In: NO
Obviously, the patch wasn't uploaded. I'll post it inline:
--- ext/ResizableLib/ResizableLayout.h (revision 6472) +++ ext/ResizableLib/ResizableLayout.h (working copy) @@ -294,6 +294,8 @@ { // just for safety RemoveAllAnchors(); + + DeleteObject(m_hOldClipRgn); } };
Log in to post a comment.
Logged In: NO
Obviously, the patch wasn't uploaded. I'll post it inline:
Index: ext/ResizableLib/ResizableLayout.h
--- ext/ResizableLib/ResizableLayout.h (revision 6472)
+++ ext/ResizableLib/ResizableLayout.h (working copy)
@@ -294,6 +294,8 @@
{
// just for safety
RemoveAllAnchors();
+
+ DeleteObject(m_hOldClipRgn);
}
};