Patch level :10.0 250

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :corretta chiamata dei MENU_ITEM con MENU_ITEM_ID


git-svn-id: svn://10.65.10.50/trunk@18338 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-02-24 14:21:14 +00:00
parent e016b044b0
commit 67d4dfcd5b
3 changed files with 3 additions and 3 deletions

View File

@ -3640,7 +3640,7 @@ void TMatResPlanning::print_exceptions(TExceptions_array &excepts)
bool TMatResPlanning::menu(MENU_TAG mt)
{
bool ok = TRUE;
if (mt == MENU_ITEM(1))
if (mt == MENU_ITEM_ID(1))
_mask->sel().run();
else
ok = TSkeleton_application::menu(mt);

View File

@ -4533,7 +4533,7 @@ int TCRPCheck_mask::fill_mask(const bool show_fields)
bool TPlanning_app::menu(MENU_TAG mt)
{
bool ok = TRUE;
if (mt == MENU_ITEM(1))
if (mt == MENU_ITEM_ID(1))
{
TSelect_color_mask & s = _m->sel();
s.run();

View File

@ -759,7 +759,7 @@ bool TForm_EC_editor::edit(char s, pagetype p)
}
if (_msk!=NULL) delete _msk;
_msk = NULL;
if (!extra()) dispatch_e_menu(MENU_ITEM(14));
if (!extra()) dispatch_e_menu(MENU_ITEM_ID(14));
return dirty;
}