Fixed build with Wt >=4.12.1, fixes #771
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Wt/WConfig.h>
|
||||
#include <Wt/WTheme.h>
|
||||
|
||||
namespace lms::ui
|
||||
@@ -41,5 +42,10 @@ namespace lms::ui
|
||||
const Wt::WValidator::Result& validation,
|
||||
Wt::WFlags<Wt::ValidationStyleFlag> 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
|
||||
|
||||
Reference in New Issue
Block a user