- wBTree *w = new wBTree ();
- wNodeHeader *w1 = new wNodeHeader (10, 10);
-
- w->SetTree (&tree);
- int n = 0;
- do {
- w->ShowNode (n);
- w->Show ();
-
- w1->SetHeader (n, w->GetHeader ());
- w1->Show ();
-
- scanf ("%d", &n);
- if (n == -1) break;
+ /* Creo la ventana principal */
+ Window *screen = new Window ("TreeMulator", 0, 0, 0, 0, true);
+ wBTree *wb = new wBTree (screen);