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:
parent
071a2d7814
commit
60c65519d0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user