rem: WEditMenuItem *item; WMArrayIterator iter;
context: destroyEditMenu(WEditMenu *mPtr){    WEditMenuItem *item;    WMArrayIterator iter;    WMRemoveNotificationObserver(mPtr);    WM_ITERATE_ARRAY(mPtr->items, item, iter) {        if (item->submenu) {            WMDestroyWidget(item->submenu);        }    }    WMFreeArray(mPtr->items);    wfree(mPtr->tdelegate);    wfree(mPtr);}