From 28f9b62c397c4f3f8dc0cba69ce1cb8c02f81e76 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 17 Nov 2016 09:55:41 -0800 Subject: Remove the CFWL_EventType::DrawItem The ListBox DrawItems event is caught by the ComboBox which converts the event into a ComboBox DrawItems event which is never processed. Removed both. Review-Url: https://codereview.chromium.org/2510123002 --- xfa/fwl/core/ifwl_listbox.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'xfa/fwl/core/ifwl_listbox.h') diff --git a/xfa/fwl/core/ifwl_listbox.h b/xfa/fwl/core/ifwl_listbox.h index 42886d17e0..48d4522009 100644 --- a/xfa/fwl/core/ifwl_listbox.h +++ b/xfa/fwl/core/ifwl_listbox.h @@ -42,13 +42,6 @@ FWL_EVENT_DEF(CFWL_EvtLtbSelChanged, CFWL_EventType::SelectChanged, CFX_Int32Array iarraySels;) -FWL_EVENT_DEF(CFWL_EvtLtbDrawItem, - CFWL_EventType::DrawItem, - CFX_Graphics* m_pGraphics; - CFX_Matrix m_matrix; - int32_t m_index; - CFX_RectF m_rect;) - class IFWL_ListBoxDP : public IFWL_DataProvider { public: virtual int32_t CountItems(const IFWL_Widget* pWidget) const = 0; -- cgit v1.2.3