// this is an implementation detail: called when the native window is
// destroyed by an outside agency; deletes the C++ object too but can in
// this is an implementation detail: called when the native window is
// destroyed by an outside agency; deletes the C++ object too but can in