mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 06:58:07 +00:00
Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish.
Allows hotkey handling of mousewheel events after minimap. Fixes #673. Adds SendEvent to GUI objects, used in place of separate calls to HandleMessage and ScriptEvent. This was SVN commit r9340.
This commit is contained in:
@@ -133,7 +133,7 @@ void CTooltip::SetupText()
|
||||
GUI<CClientArea>::SetSetting(this, "size", size);
|
||||
}
|
||||
|
||||
void CTooltip::HandleMessage(const SGUIMessage &Message)
|
||||
void CTooltip::HandleMessage(SGUIMessage &Message)
|
||||
{
|
||||
IGUITextOwner::HandleMessage(Message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user