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:
parent
e016b044b0
commit
67d4dfcd5b
@ -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);
|
||||
|
@ -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();
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user