summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_eventtarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_eventtarget.h')
-rw-r--r--xfa/fwl/cfwl_eventtarget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/cfwl_eventtarget.h b/xfa/fwl/cfwl_eventtarget.h
index 1bca97232c..36d301df27 100644
--- a/xfa/fwl/cfwl_eventtarget.h
+++ b/xfa/fwl/cfwl_eventtarget.h
@@ -23,13 +23,13 @@ class CFWL_EventTarget {
void SetEventSource(CFWL_Widget* pSource);
bool ProcessEvent(CFWL_Event* pEvent);
- bool IsInvalid() const { return m_bInvalid; }
- void FlagInvalid() { m_bInvalid = true; }
+ bool IsValid() const { return m_bValid; }
+ void FlagInvalid() { m_bValid = false; }
private:
std::set<CFWL_Widget*> m_widgets;
CFWL_Widget* m_pListener;
- bool m_bInvalid;
+ bool m_bValid;
};
#endif // XFA_FWL_CFWL_EVENTTARGET_H_