Combobox - 2 of every list item

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

Combobox - 2 of every list item

Postby saetrum » Tue Mar 08, 2005 03:28

I've made a combobox - based on the code from the Ogre GUI Demo (which is based on demo 8 I believe), but when I run the program, I get 2 of every item in the combobox. Is this a known issue, or did I do something wrong.

I'll post some code in a few hours...but if anyone has run in to this before, I could use some advice.

Thanks!
There are 10 types of people in the world: those that understand binary and those that don't.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Combobox - 2 of every list item

Postby CrazyEddie » Tue Mar 08, 2005 09:21

Hi,

There are no known issues regarding this (that I can recall), and I've not heard of similar issues previously.

If you're running HEAD it's possible I've introduced a bug (though I don't think so), failing that it's something local :)

CE.

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

Re: Combobox - 2 of every list item

Postby saetrum » Tue Mar 08, 2005 15:03

:oops: :oops: :oops: It was indeed "local" The initialization method was being called twice...

Thanks for the help.
There are 10 types of people in the world: those that understand binary and those that don't.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Combobox - 2 of every list item

Postby CrazyEddie » Tue Mar 08, 2005 19:58

Hehe :)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 6 guests