Conflict add_item
- Posted by unsteady Mar 06, 2015
- 1648 views
add_item is a function in sequence.e
add_item is also a function in wxeud.e I was working away happily and added
include sequence.e in my work and it crashed saying add_item not found.
For myself, rather than change anything in sequence.e, I have made changes as follows in wxeud.e
public procedure add_items( atom list, sequence text )-- new public procedure with an "s" added to "add_item" add_item( list, text ) end procedure procedure add_item( atom list, sequence text ) -- not a public procedure any more c_proc( WX_ADD_ITEM, {list, text} ) end procedure
This works for me and I use add_items. However, sequence.e is long established, so you can't change it there.
wxWidgets is long established and you can't change the .dll to suit you , so i don't know what permanent change you would want to make for the wxEuphoria users.