use bgcolor when restoring styles as this is what we write, not backgroundcolor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-19 03:42:05 +00:00
parent 50c6e05f3d
commit 6cced968cf

View File

@@ -1063,7 +1063,7 @@ bool wxRichTextXMLHandler::GetStyle(wxTextAttr& attr, wxXmlNode* node, bool isPa
attr.SetTextColour(value);
}
value = node->GetAttribute(wxT("backgroundcolor"), wxEmptyString);
value = node->GetAttribute(wxT("bgcolor"), wxEmptyString);
if (!value.empty())
{
if (value[0] == wxT('#'))