X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7243eb6d3be736c27ac4c0c6158156a8e79b7c68..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/xrc/xh_listc.cpp?ds=inline diff --git a/src/xrc/xh_listc.cpp b/src/xrc/xh_listc.cpp index acce070d34..b9a9c2d059 100644 --- a/src/xrc/xh_listc.cpp +++ b/src/xrc/xh_listc.cpp @@ -150,7 +150,7 @@ void wxListCtrlXmlHandler::HandleListItem() if (HasParam(wxT("data"))) item.SetData(GetLong(wxT("data"))); if (HasParam(wxT("font"))) - item.SetFont(GetFont()); + item.SetFont(GetFont(wxT("font"), list)); if (HasParam(wxT("state"))) item.SetState(GetStyle(wxT("state"))); if (HasParam(wxT("textcolour")))