Index: xfa/fwl/core/fwl_formimp.h |
diff --git a/xfa/fwl/core/fwl_formimp.h b/xfa/fwl/core/fwl_formimp.h |
index 4ee3e0ddae23687d00819e60563c5fdb914bdda5..d8bc80522e6fa8b148755c9adcd4f3aa94c67507 100644 |
--- a/xfa/fwl/core/fwl_formimp.h |
+++ b/xfa/fwl/core/fwl_formimp.h |
@@ -32,7 +32,7 @@ class CFWL_SysBtn { |
m_dwState = 0; |
} |
- FX_BOOL IsDisabled() { return m_dwState & FWL_SYSBUTTONSTATE_Disabled; } |
+ bool IsDisabled() { return !!(m_dwState & FWL_SYSBUTTONSTATE_Disabled); } |
void SetNormal() { m_dwState &= 0xFFF0; } |
void SetPressed() { |