[comp.windows.open-look] problem with raw canvas in bag

vidarh@stud.cs.uit.no (Vidar Hanssen) (02/19/91)

Hello!

I would like to have a raw canvas (not an instance of ClassCanvas, but a canvas created with 'newcanvas') in a window. The window is an instance of OpenLookBaseFrame with an instance of AbsoluteBag as client.

I have no problems with creating and using the raw canvas, but when I'm exiting the window (using the standard window/exit menu choice), the following error message occur:

***ERROR***
	newerror:	true
	errorname:	undefined
	command:	destroydependent
	message:	null
	dstack:		null
	estack:		null
	ostack:		null
true


I create the canvas using the following code:

/mycan 
  /canvas /client win send send newcanvas
def

(where 'win' is the instance of the frame)



Can anyone help me out with this, explain what's happening or tell me what to do to fix it??

Thanks

Vidar