示例#1
0
void MCUndolist::savestate(MCObject *objptr, Ustruct *us)
{
	MCUndonode *uptr = new (nothrow) MCUndonode(objptr, us);
	uptr->appendto(nodes);
    if (MCdefaultstackptr)
        MCdefaultstackptr->getcurcard()->message(MCM_undo_changed);
}
示例#2
0
void MCUndolist::savestate(MCObject *objptr, Ustruct *us)
{
	MCUndonode *uptr = new MCUndonode(objptr, us);
	uptr->appendto(nodes);
	objptr->message(MCM_undo_changed);
}