Behaviour of Editbox::onCharacter

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
wallaba
Just popping in
Just popping in
Posts: 2
Joined: Mon Jan 16, 2006 02:59
Contact:

Behaviour of Editbox::onCharacter

Postby wallaba » Fri Jan 20, 2006 00:05

I think theres a small mistake in this function, the event is marked as handled whether or not the edit box uses the event. I think the last line (e.handled = true;) should be moved into that big if statement.

Wallaba

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Behaviour of Editbox::onCharacter

Postby lindquist » Fri Jan 20, 2006 03:31

I have updated and committed this fix. thanx.
To get the latest fixes, checkout the cvs branch "v0-4"


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 8 guests