Index: xfa/fwl/core/fwl_widgetmgrimp.cpp |
diff --git a/xfa/fwl/core/fwl_widgetmgrimp.cpp b/xfa/fwl/core/fwl_widgetmgrimp.cpp |
index 02b63862e50bae575557e5967e89b8563d44dd8d..1985cbdeafa0c82b0c1c9506309de85fda62ae72 100644 |
--- a/xfa/fwl/core/fwl_widgetmgrimp.cpp |
+++ b/xfa/fwl/core/fwl_widgetmgrimp.cpp |
@@ -667,12 +667,15 @@ FX_BOOL CFWL_WidgetMgr::IsAbleNative(IFWL_Widget* pWidget) { |
FWL_WGTSTYLE_OverLapper) || |
(dwStyles & FWL_WGTSTYLE_Popup); |
} |
-FX_BOOL CFWL_WidgetMgr::IsThreadEnabled() { |
+ |
+bool CFWL_WidgetMgr::IsThreadEnabled() { |
return !(m_dwCapability & FWL_WGTMGR_DisableThread); |
} |
-FX_BOOL CFWL_WidgetMgr::IsFormDisabled() { |
- return m_dwCapability & FWL_WGTMGR_DisableForm; |
+ |
+bool CFWL_WidgetMgr::IsFormDisabled() { |
+ return !!(m_dwCapability & FWL_WGTMGR_DisableForm); |
} |
+ |
FX_BOOL CFWL_WidgetMgr::GetAdapterPopupPos(IFWL_Widget* pWidget, |
FX_FLOAT fMinHeight, |
FX_FLOAT fMaxHeight, |