Commit a6ce50ea authored by cutealien's avatar cutealien

Again: IGUISpinBox now passes on the EGET_BUTTON_CLICKED, EGET_EDITBOX_CHANGED...

Again: IGUISpinBox now passes on the EGET_BUTTON_CLICKED, EGET_EDITBOX_CHANGED and EGET_EDITBOX_ENTER events from it's sub-elements (wasn't fixed with last check-in).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4429 dfc29bdd-3216-0410-991c-e03cc46cb475
parent ae541ffa
...@@ -259,7 +259,8 @@ bool CGUISpinBox::OnEvent(const SEvent& event) ...@@ -259,7 +259,8 @@ bool CGUISpinBox::OnEvent(const SEvent& event)
e.GUIEvent.EventType = EGET_SPINBOX_CHANGED; e.GUIEvent.EventType = EGET_SPINBOX_CHANGED;
if ( Parent ) if ( Parent )
Parent->OnEvent(e); Parent->OnEvent(e);
return eatEvent; if ( eatEvent )
return true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment