diff -abBdpuNPr --exclude='*.svn' irrlicht-svn-ss/trunk/source/Irrlicht/CGUISpinBox.cpp Irrlicht_starsonata/source/Irrlicht/CGUISpinBox.cpp --- irrlicht-svn-ss/trunk/source/Irrlicht/CGUISpinBox.cpp 2007-07-26 02:11:08.000000000 +0200 +++ Irrlicht_starsonata/source/Irrlicht/CGUISpinBox.cpp 2008-03-19 17:57:54.000000000 +0100 @@ -149,6 +149,9 @@ void CGUISpinBox::setDecimalPlaces(s32 p bool CGUISpinBox::OnEvent(SEvent event) { + if (!IsEnabled) + return IGUIElement::OnEvent(event); + bool changeEvent = false; switch(event.EventType) {