| Index: xfa/fwl/core/ifwl_listbox.cpp
|
| diff --git a/xfa/fwl/core/ifwl_listbox.cpp b/xfa/fwl/core/ifwl_listbox.cpp
|
| index 1f5a50c4c899926099b0f518a08cd898fb1351cb..4a8f9395b6f3388ed81c1c453d519370ad4a1fee 100644
|
| --- a/xfa/fwl/core/ifwl_listbox.cpp
|
| +++ b/xfa/fwl/core/ifwl_listbox.cpp
|
| @@ -510,17 +510,8 @@ void IFWL_ListBox::DrawItems(CFX_Graphics* pGraphics,
|
| if (bMultiCol && rtItem.left > m_rtConent.right())
|
| break;
|
|
|
| - if (GetStylesEx() & FWL_STYLEEXT_LTB_OwnerDraw) {
|
| - CFWL_EvtLtbDrawItem ev;
|
| - ev.m_pSrcTarget = this;
|
| - ev.m_pGraphics = pGraphics;
|
| - ev.m_matrix = *pMatrix;
|
| - ev.m_index = i;
|
| - ev.m_rect = rtItem;
|
| - DispatchEvent(&ev);
|
| - } else {
|
| + if (!(GetStylesEx() & FWL_STYLEEXT_LTB_OwnerDraw))
|
| DrawItem(pGraphics, pTheme, pItem, i, rtItem, pMatrix);
|
| - }
|
| }
|
| }
|
|
|
|
|