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 2b62efbc78..7b56d2b712 100644
--- a/xfa/fxfa/parser/cxfa_button.cpp
+++ b/xfa/fxfa/parser/cxfa_button.cpp
@@ -37,3 +37,7 @@ CXFA_Button::CXFA_Button(CXFA_Document* doc, XFA_PacketType packet)
pdfium::MakeUnique<CJX_Button>(this)) {}
CXFA_Button::~CXFA_Button() {}
+
+XFA_FFWidgetType CXFA_Button::GetDefaultFFWidgetType() const {
+ return XFA_FFWidgetType::kButton;
+}