Hi,
Upon closing the main form I always notice a 'glitch', it shows itself again for a short time. The attached :) patch fixes this. When a window is closed by the user, it is destroyed, ie. windows sends a WM_DESTROY. The removed lines therefore recreated the window again, to destroy it immediately. Not very useful. It would be destroyed anyway when it's corresponding TCustomForm object is freed.
Regards,
Micha.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00040.bin
Type: application/octet-stream
Size: 617 bytes
Desc: "appterminate.patch"
Url : http://localhost/pipermail/lazarus/attachments/20030628/2f56cbe5/bin00040.bin
