Patch level : 10.0

Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :
0000876: errore di applicazione cg3
Ho installato l'ultima versione 10 - ho convertito azienda DASSI , in variazione di un movimento di prima nota ho premuto il tasto "mastrino" per visualizzare la scheda , appare l'errore allegato


git-svn-id: svn://10.65.10.50/trunk@17260 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-09-16 13:53:42 +00:00
parent 80b7b90a70
commit 84aafe2647

View File

@ -1046,12 +1046,14 @@ void TTaskWin::OnSize(wxSizeEvent& evt)
} }
void TTaskWin::SetMenuTree(const MENU_ITEM* tree) void TTaskWin::SetMenuTree(const MENU_ITEM* tree)
{
wxMenuBar* bar = GetMenuBar();
if (bar != NULL && tree != NULL)
{ {
if (m_menu) if (m_menu)
xvt_res_free_menu_tree(m_menu); xvt_res_free_menu_tree(m_menu);
m_menu = xvt_menu_duplicate_tree(tree); m_menu = xvt_menu_duplicate_tree(tree);
wxMenuBar* bar = GetMenuBar();
for ( ; tree != NULL && tree->tag != 0; tree++) for ( ; tree != NULL && tree->tag != 0; tree++)
{ {
wxMenu* pMenu = new wxMenu; wxMenu* pMenu = new wxMenu;
@ -1079,6 +1081,7 @@ void TTaskWin::SetMenuTree(const MENU_ITEM* tree)
bar->Insert(m, pMenu, tree->text); bar->Insert(m, pMenu, tree->text);
} }
} }
}
void TTaskWin::PushMenuTree(const MENU_ITEM* tree, wxWindow* owner) void TTaskWin::PushMenuTree(const MENU_ITEM* tree, wxWindow* owner)
{ {