X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/6079e1eac2e861165a321fa81a257bb4cb149071..a90c9a683ffee3b8820d814ad467cad4edb3495f:/nviewer/w_btree.cpp diff --git a/nviewer/w_btree.cpp b/nviewer/w_btree.cpp index a5a819b..5cddabb 100644 --- a/nviewer/w_btree.cpp +++ b/nviewer/w_btree.cpp @@ -2,7 +2,7 @@ #include #include "w_btree.h" -wBTree::wBTree (Window *p):Window (p, "", p->Width()-2, p->Height ()-2, 1, 1, true) +wBTree::wBTree (Window *p):Window (p, "", p->Width()-2, p->Height ()-5, 1, 1, true) { last_length = 0; wnode = new wNodeHeader (this, p->Width () - 30, 2); @@ -64,6 +64,8 @@ void wBTree::ShowNode (uint node_num) } last_length = x; wnode->ShowHeader (node_num, node_header); + + Show (); } void wBTree::Show ()