I need to get the Properties of my controls,
so I added sth like this =>
Code: Select all
CEGUI::PropertySet::PropertyIterator pi = mainmenuWnd->getIterator();
But it fails with the following error:
error C2385: ambiguous access of 'getIterator' in 'CEGUI::Window'
could be the 'getIterator' in base 'CEGUI::PropertySet::getIterator'
or the 'getIterator' in base 'CEGUI::EventSet::getIterator'
I made a dirty hack like this:
Code: Select all
CEGUI::PropertySet::PropertyIterator pi =
((CEGUI::PropertySet*)mainmenuWnd)->getIterator();
But I'd like to know if there is a nice & clean way to do this
Thanks in advance!
/Roger