diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index a9833b3e74..d169ed2273 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -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('#'))