From ab7990b69ea3cb18b6bbb3eab2e6f03636184150 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 1 Feb 2008 16:39:41 +0000 Subject: [PATCH] Patch level : 10.0 Files correlati : ba0 Ricompilazione Demo : [ ] Commento : Aggiunta gestione sotto/processi git-svn-id: svn://10.65.10.50/trunk@16084 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba0102.cpp | 3 ++- ba/ba0103.cpp | 6 ++++++ ba/ba2300.cpp | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ba/ba0102.cpp b/ba/ba0102.cpp index b40a25590..6e3940212 100755 --- a/ba/ba0102.cpp +++ b/ba/ba0102.cpp @@ -270,7 +270,8 @@ long TMenu_tree::find_node(const TString& id) TMenu_tree::TMenu_tree(TMenu& menu) : _menu(&menu), _curr_id(128, '/') { - _root_id = _menu->current().name(); + // _root_id = _menu->current().name(); + _root_id = "MENU_000"; // Triste necessita' per sicurezza goto_root(); } diff --git a/ba/ba0103.cpp b/ba/ba0103.cpp index 228180f82..b5a6f348a 100755 --- a/ba/ba0103.cpp +++ b/ba/ba0103.cpp @@ -16,6 +16,7 @@ protected: public: TCampo_window(int x, int y, int dx, int dy, WINDOW parent, TWindowed_field* owner); + ~TCampo_window(); }; void TCampo_window::update() @@ -57,6 +58,11 @@ TCampo_window::TCampo_window(int x, int y, int dx, int dy, set_scroll_max(0, 0); // Get rid of that useless scrollbars } +TCampo_window::~TCampo_window() +{ + xvt_sys_close_children(win()); +} + /////////////////////////////////////////////////////////// // TCampo_field /////////////////////////////////////////////////////////// diff --git a/ba/ba2300.cpp b/ba/ba2300.cpp index 46d206598..9e3dce2ef 100755 --- a/ba/ba2300.cpp +++ b/ba/ba2300.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include "ba2201.h"