]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/guiMessageMenu.cpp
Mode node definition loading from Lua (still not finished), fix metadata creation...
[dragonfireclient.git] / src / guiMessageMenu.cpp
index 155be6029c8b0f08174a121e8bb50c4d44617853..87f1dbf0ec4c665b739c47a8f60209b5b570d065 100644 (file)
@@ -21,6 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "debug.h"
 #include "serialization.h"
 #include <string>
+#include <IGUICheckBox.h>
+#include <IGUIEditBox.h>
+#include <IGUIButton.h>
+#include <IGUIStaticText.h>
+#include <IGUIFont.h>
 
 #include "gettext.h"
 
@@ -85,14 +90,16 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
                Environment->addStaticText(m_message_text.c_str(), rect, false,
                                true, this, 256);
        }
+       changeCtype("");
        {
                core::rect<s32> rect(0, 0, 140, 30);
                rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25);
                gui::IGUIElement *e = 
                Environment->addButton(rect, this, 257,
-                       chartowchar_t(gettext("Proceed")));
+                       wgettext("Proceed"));
                Environment->setFocus(e);
        }
+       changeCtype("C");
 }
 
 void GUIMessageMenu::drawMenu()