From c575f56a1c9fbd685fced23495bf4999c0fdbf3d Mon Sep 17 00:00:00 2001 From: emeric Date: Sun, 2 Nov 2025 12:07:29 +0100 Subject: [PATCH] Fixed build with Wt >=4.12.1, fixes #771 --- src/lms/ui/LmsTheme.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lms/ui/LmsTheme.hpp b/src/lms/ui/LmsTheme.hpp index e2ee9c55..a4ba5037 100644 --- a/src/lms/ui/LmsTheme.hpp +++ b/src/lms/ui/LmsTheme.hpp @@ -19,6 +19,7 @@ #pragma once +#include #include namespace lms::ui @@ -41,5 +42,10 @@ namespace lms::ui const Wt::WValidator::Result& validation, Wt::WFlags flags) const override; bool canBorderBoxElement(const Wt::DomElement&) const override { return true; } + +#if WT_VERSION >= 0x04120100 + void applyFunctionalStyling(Wt::WWidget* widget, Wt::WWidget* child, int widgetRole) const override {} + void applyOptionalStyling(Wt::WWidget* widget, Wt::WWidget* child, int widgetRole) const override {} +#endif // WT_VERSION }; } // namespace lms::ui