diff -r cc74e559b465 lib/irrlicht/include/IGUIListBox.h --- a/lib/irrlicht/include/IGUIListBox.h Wed Dec 24 01:53:37 2008 +0100 +++ b/lib/irrlicht/include/IGUIListBox.h Mon Dec 29 17:53:51 2008 +0100 @@ -102,7 +102,10 @@ virtual void setAutoScrollEnabled(bool scroll) = 0; //! returns true if automatic scrolling is enabled, false if not. - virtual bool isAutoScrollEnabled() const = 0; + virtual bool isAutoScrollEnabled() const = 0; + + //! Sets whether to draw the background + virtual void setDrawBackground(bool draw) = 0; //! set all item colors at given index to color virtual void setItemOverrideColor(u32 index, const video::SColor &color) = 0; diff -r cc74e559b465 lib/irrlicht/source/Irrlicht/CGUIListBox.cpp --- a/lib/irrlicht/source/Irrlicht/CGUIListBox.cpp Wed Dec 24 01:53:37 2008 +0100 +++ b/lib/irrlicht/source/Irrlicht/CGUIListBox.cpp Mon Dec 29 17:53:51 2008 +0100 @@ -646,6 +646,12 @@ { _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX; return AutoScroll; +} + + +void CGUIListBox::setDrawBackground(bool draw) +{ + DrawBack = draw; } diff -r cc74e559b465 lib/irrlicht/source/Irrlicht/CGUIListBox.h --- a/lib/irrlicht/source/Irrlicht/CGUIListBox.h Wed Dec 24 01:53:37 2008 +0100 +++ b/lib/irrlicht/source/Irrlicht/CGUIListBox.h Mon Dec 29 17:53:51 2008 +0100 @@ -77,7 +77,10 @@ virtual void setAutoScrollEnabled(bool scroll); //! returns true if automatic scrolling is enabled, false if not. - virtual bool isAutoScrollEnabled() const; + virtual bool isAutoScrollEnabled() const; + + //! Sets whether to draw the background + virtual void setDrawBackground(bool draw); //! Update the position and size of the listbox, and update the scrollbar virtual void updateAbsolutePosition();