Now sets the font for newly appended ownerdraw items.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 1999-11-23 00:01:50 +00:00
parent 071a2d7814
commit 60c65519d0

View File

@ -283,6 +283,7 @@ int wxListBox::DoAppend(const wxString& item)
pNewItem->SetName(item);
m_aItems.Add(pNewItem);
ListBox_SetItemData(GetHwnd(), index, pNewItem);
pNewItem->SetFont(GetFont());
}
#endif