Alfredo Braunstein <[EMAIL PROTECTED]> writes: | Ok, I've reworked the patch in the Row* version. That's is: | | private: | mutable Row * top_row; | mutable int top_row_offset_; | public: | int top_y() const | void top_y(int newy); | | I've needed to put them mutable because removeRow() is declared constant | (why?). Now in RemoveRow there is a check if we are removing the top_row_ | and we put top_row_ to the next one if we are.
Can you check a bit more why removeRow() is constant? Perhaps that should just change. -- Lgb