public override void Wrap(object obj, bool initialized) { Gtk.OptionMenu omenu = (Gtk.OptionMenu)obj; if (omenu.Menu == null) { Gtk.Menu menu = new Gtk.Menu(); menu.Show(); omenu.Menu = menu; } base.Wrap(obj, initialized); }