Registers a blit to occur when garbage collection starts or ends.
When garbage collection starts, (send (send canvas get-dc) blit x y w h on on-x on-y) is called. When garbage collection ends, (send (send canvas get-dc) blit x y w h off off-x off-y) is called.
The canvas is registered weakly, so it will be automaticall unregistered if the canvas becomes invisible and inaccessible. Multiple registrations can be installed for the same canvas.
See also wx:unregister-collecting-blit.