X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7243eb6d3be736c27ac4c0c6158156a8e79b7c68..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/xrc/xh_listc.cpp diff --git a/src/xrc/xh_listc.cpp b/src/xrc/xh_listc.cpp index acce070d34..c4fb4e4468 100644 --- a/src/xrc/xh_listc.cpp +++ b/src/xrc/xh_listc.cpp @@ -3,7 +3,6 @@ // Purpose: XRC resource for wxListCtrl // Author: Brian Gavin, Kinaou Hervé, Vadim Zeitlin // Created: 2000/09/09 -// RCS-ID: $Id$ // Copyright: (c) 2000 Brian Gavin // (c) 2009 Vadim Zeitlin // Licence: wxWindows licence @@ -150,7 +149,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")))