summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/ifwl_edit.h')
-rw-r--r--xfa/fwl/core/ifwl_edit.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/xfa/fwl/core/ifwl_edit.h b/xfa/fwl/core/ifwl_edit.h
index 8ff69d0324..9dc8d01fbc 100644
--- a/xfa/fwl/core/ifwl_edit.h
+++ b/xfa/fwl/core/ifwl_edit.h
@@ -110,14 +110,13 @@ class IFWL_Edit : public IFWL_Widget {
// IFWL_Widget:
FWL_Type GetClassID() const override;
- FWL_Error GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
- FWL_Error SetWidgetRect(const CFX_RectF& rect) override;
- FWL_Error Update() override;
+ void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
+ void Update() override;
FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override;
void SetStates(uint32_t dwStates, bool bSet = true) override;
- FWL_Error DrawWidget(CFX_Graphics* pGraphics,
- const CFX_Matrix* pMatrix = nullptr) override;
- FWL_Error SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) override;
+ void DrawWidget(CFX_Graphics* pGraphics,
+ const CFX_Matrix* pMatrix = nullptr) override;
+ void SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) override;
void OnProcessMessage(CFWL_Message* pMessage) override;
void OnProcessEvent(CFWL_Event* pEvent) override;
void OnDrawWidget(CFX_Graphics* pGraphics,