In class IO_Form destructor specified:
when it is going out of scope all dynamic IO_Fields are deleted. (the rest will not be deallocated).
First we tried to deallocate all dynamic IO_Field from IO_Form destructor, but actually it should be done in IO_Node, and in IO_Form destructor all fields should be deleted. It makes sense and a lot easier to do :)
Thursday, December 10, 2009
Wednesday, December 9, 2009
IO_Menu and IO_Checklist
I know that some teams including us had some troubles with IO_Menu and O_Checklist. Two functions(getOwnerTop() and getOwnerLeft()) from this classes gave compile error because they never were created in other classes. We spend some time trying to figure out where to create that, then we gave up and asked Fardad.
These functions are a part of IO_Field class, they should return _owner->left and _owner->top()
I hope it helps...
These functions are a part of IO_Field class, they should return _owner->left and _owner->top()
I hope it helps...
Subscribe to:
Posts (Atom)