Lines Matching refs:pStruct
825 MEASUREITEMSTRUCT *pStruct = (MEASUREITEMSTRUCT *)item;
837 pStruct->itemHeight = dc.GetCharHeight() + 2*OWNER_DRAWN_LISTBOX_EXTRA_SPACE;
838 pStruct->itemWidth = dc.GetCharWidth();
856 DRAWITEMSTRUCT *pStruct = (DRAWITEMSTRUCT *)item;
857 UINT itemID = pStruct->itemID;
863 LRESULT data = ListBox_GetItemData(GetHwnd(), pStruct->itemID);
869 wxDCTemp dc((WXHDC)pStruct->hDC);
871 return pItem->OnDrawItem(dc, wxRectFromRECT(pStruct->rcItem),
872 (wxOwnerDrawn::wxODAction)pStruct->itemAction,
873 (wxOwnerDrawn::wxODStatus)pStruct->itemState);