WM: Added a callback for closing a CanvasWindow
CanvasWindow now calls a user-provided callback functionto determine whether it is ok to close the window. The callbackmay also perform any needed side-effects.
View differences
WM: Added a callback for closing a CanvasWindow
CanvasWindow now calls a user-provided callback function
to determine whether it is ok to close the window. The callback
may also perform any needed side-effects.