From 77e18a7f4bfe8810e3c802f6ce92fab259cf1fa3 Mon Sep 17 00:00:00 2001 From: Mads Buvik Sandvei Date: Tue, 24 Nov 2020 20:02:17 +0100 Subject: [PATCH] Gcc fixes --- components/widgets/box.hpp | 2 +- components/widgets/virtualkeyboardmanager.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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";