summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.h')
-rw-r--r--fpdfsdk/cpdfsdk_widget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h
index db03262aa9..43482ea7d5 100644
--- a/fpdfsdk/cpdfsdk_widget.h
+++ b/fpdfsdk/cpdfsdk_widget.h
@@ -70,10 +70,10 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
float GetFontSize() const;
int GetSelectedIndex(int nIndex) const;
-#ifndef PDF_ENABLE_XFA
- WideString GetValue() const;
-#else
+#ifdef PDF_ENABLE_XFA
WideString GetValue(bool bDisplay = true) const;
+#else
+ WideString GetValue() const;
#endif // PDF_ENABLE_XFA
WideString GetDefaultValue() const;
WideString GetOptionLabel(int nIndex) const;