Commit 2940de01 authored by bitplane's avatar bitplane

Fixed bug with editbox sending events to null parent, reported by Sudi

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2242 dfc29bdd-3216-0410-991c-e03cc46cb475
parent dc498aec
Changes in 1.6
- Fixed a bug in the edit box where events are sometimes sent to a null parent, reported by Sudi
- Added generic console device. You can now use Irrlicht to create and manipuate graphics on a shell where no graphics hardware
or windowing system is available. To enable it uncomment #define _IRR_USE_CONSOLE_DEVICE_ in IrrCompileConfig.h
or windowing system is available. To enable it uncomment #define _IRR_USE_CONSOLE_DEVICE_ in IrrCompileConfig.h
Changes in 1.6 TA
- implemented isALoadableFileFormat ( File *file ) for the Archive Loader
......
......@@ -441,7 +441,8 @@ bool CGUIEditBox::processKey(const SEvent& event)
e.GUIEvent.Caller = this;
e.GUIEvent.Element = 0;
e.GUIEvent.EventType = EGET_EDITBOX_ENTER;
Parent->OnEvent(e);
if (Parent)
Parent->OnEvent(e);
}
break;
case KEY_LEFT:
......
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