diff --git a/components/widgets/box.hpp b/components/widgets/box.hpp index 54195a46f..5fa263b0c 100644 --- a/components/widgets/box.hpp +++ b/components/widgets/box.hpp @@ -23,7 +23,7 @@ namespace Gui class EditBox : public FontWrapper { - MYGUI_RTTI_DERIVED( EditBox ); + MYGUI_RTTI_DERIVED( EditBox ) /// @param supportsVirtualKeyboard If true, VR mode will spawn a virtual keyboard whenever this widget is focused. EditBox(bool shouldSupportVirtualKeyboard = true); diff --git a/components/widgets/virtualkeyboardmanager.cpp b/components/widgets/virtualkeyboardmanager.cpp index 24b578b4d..8a1b45060 100644 --- a/components/widgets/virtualkeyboardmanager.cpp +++ b/components/widgets/virtualkeyboardmanager.cpp @@ -1,4 +1,7 @@ #include "virtualkeyboardmanager.hpp" +template<> Gui::VirtualKeyboardManager* MyGUI::Singleton::msInstance = nullptr; + +template<> const char* MyGUI::Singleton::mClassTypeName = "Gui::VirtualKeyboardManager";