TankOs/SFGUI

Radio buttons persist after hiding

Closed this issue · 1 comments

I have created a scroll window with a vertical box that is packed with radio buttons. Each radio button is assigned to a button group and is a local reference to the function that builds the list. If I call a function that removes all of the radio buttons from the box, then add new radio buttons, the old buttons are still visible when I hide the parent window. I've tried removing all radio buttons from the radio group, then calling RemoveAll() on the box, as well as calling Invalidate, Update, and RefreshAll. The old radio buttons still show when I hide the window.

This was a hanging shared pointer issue. Nevermind.