So I have a class set up as a ChangeBroadcaster. If I add that class as a member variable, I can call addChangeListener(this) during my main Component constructor. However, if I store the object in an OwnedArray, I am told that addChangeListener is unaccessible. Class objects are instantiated during the constructor via OwnedArray::add(Component*).
Is this the expected behavior, or am I doing something wrong? Thanks in advance for any confirmation/denial…