]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listc.cpp
Reflect changes in stc.cpp in stc.cpp.in from which it's generated.
[wxWidgets.git] / src / xrc / xh_listc.cpp
index acce070d341d53ab3ebd7335f355ebd242bbc909..c4fb4e4468a9695d4ab974d1ef814f6455973978 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     XRC resource for wxListCtrl
 // Author:      Brian Gavin, Kinaou HervĂ©, Vadim Zeitlin
 // Created:     2000/09/09
 // 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
 // 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")))
     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")))
     if (HasParam(wxT("state")))
         item.SetState(GetStyle(wxT("state")));
     if (HasParam(wxT("textcolour")))