diff -r 693898d8450a lib/irrlicht/include/EWindowFlags.h --- a/lib/irrlicht/include/EWindowFlags.h Tue Sep 09 01:28:23 2008 +0200 +++ b/lib/irrlicht/include/EWindowFlags.h Tue Sep 09 02:25:44 2008 +0200 @@ -14,14 +14,11 @@ //! Flag for close button EWCF_CLOSE = 0x1, - //! Flag for title bar of windows - EWCF_TITLEBAR = 0x2, + //! Flag for minimize button + EWCF_MINIMIZE = 0x2, //! Flag for maximize button EWCF_MAXIMIZE = 0x4, - - //! Flag for minimize button - EWCF_MINIMIZE = 0x8, }; } // namespace gui diff -r 693898d8450a lib/irrlicht/include/IGUIEnvironment.h --- a/lib/irrlicht/include/IGUIEnvironment.h Tue Sep 09 01:28:23 2008 +0200 +++ b/lib/irrlicht/include/IGUIEnvironment.h Tue Sep 09 02:25:44 2008 +0200 @@ -210,7 +210,7 @@ This pointer should not be dropped. See IReferenceCounted::drop() for more information. */ virtual IGUIWindow* addWindow(const core::rect& rectangle, bool modal = false, - const wchar_t* text=0, IGUIElement* parent=0, s32 id=-1, u32 constructionFlags=EWCF_CLOSE|EWCF_TITLEBAR|EWCF_MAXIMIZE|EWCF_MINIMIZE) = 0; + const wchar_t* text=0, IGUIElement* parent=0, s32 id=-1, u32 constructionFlags=EWCF_CLOSE|EWCF_MAXIMIZE|EWCF_MINIMIZE) = 0; //! Adds a modal screen. This control stops its parent's members from //! being able to recieve input until its last child is removed, it diff -r 693898d8450a lib/irrlicht/source/Irrlicht/CGUIEnvironment.h --- a/lib/irrlicht/source/Irrlicht/CGUIEnvironment.h Tue Sep 09 01:28:23 2008 +0200 +++ b/lib/irrlicht/source/Irrlicht/CGUIEnvironment.h Tue Sep 09 02:25:44 2008 +0200 @@ -84,7 +84,7 @@ //! adds a window. The returned pointer must not be dropped. virtual IGUIWindow* addWindow(const core::rect& rectangle, bool modal = false, - const wchar_t* text=0, IGUIElement* parent=0, s32 id=-1, u32 flags=EWCF_CLOSE|EWCF_TITLEBAR|EWCF_MAXIMIZE|EWCF_MINIMIZE); + const wchar_t* text=0, IGUIElement* parent=0, s32 id=-1, u32 flags=EWCF_CLOSE|EWCF_MAXIMIZE|EWCF_MINIMIZE); //! adds a modal screen. The returned pointer must not be dropped. virtual IGUIElement* addModalScreen(IGUIElement* parent); diff -r 693898d8450a lib/irrlicht/source/Irrlicht/CGUIMessageBox.cpp --- a/lib/irrlicht/source/Irrlicht/CGUIMessageBox.cpp Tue Sep 09 01:28:23 2008 +0200 +++ b/lib/irrlicht/source/Irrlicht/CGUIMessageBox.cpp Tue Sep 09 02:25:44 2008 +0200 @@ -19,7 +19,7 @@ CGUIMessageBox::CGUIMessageBox(IGUIEnvironment* environment, const wchar_t* caption, const wchar_t* text, s32 flags, IGUIElement* parent, s32 id, core::rect rectangle) -: CGUIWindow(environment, parent, id, rectangle, EWCF_CLOSE|EWCF_TITLEBAR), +: CGUIWindow(environment, parent, id, rectangle, EWCF_CLOSE), OkButton(0), CancelButton(0), YesButton(0), NoButton(0), StaticText(0), Flags(flags), MessageText(text), Pressed(false) {