Closed krakjoe closed 7 years ago
Any control that contain child controls should store references to those controls to maintain refcounts.
Currently Control::append(Area), or anything similar, may behave strangely when there is no reference to Area after the call to append returned.
Solved simply by keeping a reference.
Solved properly by adding tables of controls to all layout controls, and windows.
Any control that contain child controls should store references to those controls to maintain refcounts.
Currently Control::append(Area), or anything similar, may behave strangely when there is no reference to Area after the call to append returned.
Solved simply by keeping a reference.
Solved properly by adding tables of controls to all layout controls, and windows.