summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_button.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_button.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_button.cpp b/xfa/fxfa/parser/cxfa_button.cpp
index 7b56d2b712..4a951b3ee9 100644
--- a/xfa/fxfa/parser/cxfa_button.cpp
+++ b/xfa/fxfa/parser/cxfa_button.cpp
@@ -41,3 +41,7 @@ CXFA_Button::~CXFA_Button() {}
XFA_FFWidgetType CXFA_Button::GetDefaultFFWidgetType() const {
return XFA_FFWidgetType::kButton;
}
+
+XFA_AttributeEnum CXFA_Button::GetHighlight() {
+ return JSObject()->GetEnum(XFA_Attribute::Highlight);
+}