diff options
Diffstat (limited to 'xfa/fwl/core/cfwl_checkbox.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_checkbox.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fwl/core/cfwl_checkbox.cpp b/xfa/fwl/core/cfwl_checkbox.cpp index 5372083b4c..75e85fcabb 100644 --- a/xfa/fwl/core/cfwl_checkbox.cpp +++ b/xfa/fwl/core/cfwl_checkbox.cpp @@ -51,10 +51,9 @@ FWL_Error CFWL_CheckBox::SetCheckState(int32_t iCheck) { return ToCheckBox(GetWidget())->SetCheckState(iCheck); } -FWL_Error CFWL_CheckBox::GetCaption(IFWL_Widget* pWidget, - CFX_WideString& wsCaption) { +void CFWL_CheckBox::GetCaption(IFWL_Widget* pWidget, + CFX_WideString& wsCaption) { wsCaption = m_wsCaption; - return FWL_Error::Succeeded; } FX_FLOAT CFWL_CheckBox::GetBoxSize(IFWL_Widget* pWidget) { |