diff options
Diffstat (limited to 'xfa/fwl/core/cfwl_pushbutton.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_pushbutton.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xfa/fwl/core/cfwl_pushbutton.cpp b/xfa/fwl/core/cfwl_pushbutton.cpp index 888c127782..1fc6191d3d 100644 --- a/xfa/fwl/core/cfwl_pushbutton.cpp +++ b/xfa/fwl/core/cfwl_pushbutton.cpp @@ -24,11 +24,6 @@ void CFWL_PushButton::Initialize() { CFWL_Widget::Initialize(); } -FWL_Error CFWL_PushButton::GetCaption(CFX_WideString& wsCaption) { - wsCaption = m_wsCaption; - return FWL_Error::Succeeded; -} - FWL_Error CFWL_PushButton::SetCaption(const CFX_WideStringC& wsCaption) { m_wsCaption = wsCaption; return FWL_Error::Succeeded; @@ -43,10 +38,9 @@ FWL_Error CFWL_PushButton::SetPicture(CFX_DIBitmap* pBitmap) { return FWL_Error::Succeeded; } -FWL_Error CFWL_PushButton::GetCaption(IFWL_Widget* pWidget, - CFX_WideString& wsCaption) { +void CFWL_PushButton::GetCaption(IFWL_Widget* pWidget, + CFX_WideString& wsCaption) { wsCaption = m_wsCaption; - return FWL_Error::Succeeded; } CFX_DIBitmap* CFWL_PushButton::GetPicture(IFWL_Widget* pWidget) { |