those wxUI classes are going away, we should make this work with native wxUI classes like ForEach and LayoutIf.