Reworked the inventory move handling code, hopefully fixed more problems than caused
[oweals/minetest.git] / src / guiMessageMenu.cpp
index 27ff3dafab7b24e89b4c16b90fe0297bdca22001..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"
 
@@ -91,10 +96,10 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
                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("en_US.UTF-8");
+       changeCtype("C");
 }
 
 void GUIMessageMenu::drawMenu()