Eddie/anybody,
in the eventhandler for capturing the mouse up of a button:
protected internal override void OnMouseButtonUp(MouseEventArgs e)
{
// default processing
base.OnMouseButtonDown (e);
if(e.Button == MouseButton.Left)
{
ReleaseInput();
// event was handled by us
e.Handled = true;
}
}
Shouldnt the first line in the function state
base.OnMouseButtonUp(e);
i.e. calling the overloaded function of the parent class ?
Staffel
Typo/Bug in Widgets\BaseButton.cs?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Typo/Bug in Widgets\BaseButton.cs?
Yes, this is incorrect. Nice find
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 11 guests
