<commit_before>#if DESKTOP
using System;
using System.Collections.ObjectModel;

namespace Eto.Forms
{
	public interface IMenuItem : IMenu
	{
	}
	
	public abstract class MenuItem : Menu
	{
		protected MenuItem (Generator g, Type type, bool initialize = true) 
			: base(g, type, initialize)
		{
		}
	}

	public class MenuItemCollection : Collection<MenuItem>
	{<commit_msg>MenuItem: derive from InstanceWidget instead of from Menu. Similar to ToolBarItem, which derives from InstanceWidget.<commit_after>#if DESKTOP
using System;
using System.Collections.ObjectModel;

namespace Eto.Forms
{
	public interface IMenuItem : IMenu
	{
	}
	
	public abstract class MenuItem : InstanceWidget
	{
		protected MenuItem (Generator g, Type type, bool initialize = true) 
			: base(g, type, initialize)
		{
		}
	}

	public class MenuItemCollection : Collection<MenuItem>
	{
{'fraction_non_alphanumeric': 0.07925407925407925, 'fraction_numerical': 0.0, 'mean_word_length': 4.471337579617835, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '798227', 'n_tokens_mistral': 270, 'n_tokens_neox': 257, 'n_words': 80}