search for: item_with_submenu

Displaying 1 result from an estimated 1 matches for "item_with_submenu".

2004 Jan 28
1
Submenues
...tion void wxMenu::Append( int id, const wxString& item, wxMenu *subMenu, const wxString& helpString = "" ), please? Also, function append_item() doesn''t work: menu = Menu.new submenu = Menu.new submenu.append(2, "item of submenu") item_with_submenu = MenuItem.new(menu, 2, ''&Submenu'', '''', ITEM_NORMAL, submenu) menu.append_item( item_with_submenu ) I get error: in `append_item'': wrong argument type nil (expected Data) (TypeError) Could you check it, please? -- Best regards, Pavel mailto:...