Hello,
I'm trying to create a window with a canvas embedded in it using the
following simple command lines:
TGMainFrame* main = new TGMainFrame(gClient->GetRoot(),800,600)
TRootEmbeddedCanvas* fCanvas = new TRootEmbeddedCanvas("canvas",main,800,600)
main->AddFrame(fCanvas)
main->MapSubwindows()
main->MapWindow()
It creates the window with the canvas in it, but when I put the
mouse cursor on the window I get several
*** Break *** bus error
It keeps showing this message while the cursor is on the window.
What am I doing wrong?
Thanks for any help,
Marcelo.
--
Marcelo G. Munhoz
Universidade de Sao Paulo - Brazil/
Wayne State University
phone: (313)5775419
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET