Optimization: don't set the base background colour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-03-05 16:13:40 +00:00
parent 7e3a37bedf
commit a1dcd726e6

View File

@@ -152,7 +152,6 @@ bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& va
wxTextAttrEx attributes; wxTextAttrEx attributes;
attributes.SetFont(GetFont()); attributes.SetFont(GetFont());
attributes.SetTextColour(*wxBLACK); attributes.SetTextColour(*wxBLACK);
attributes.SetBackgroundColour(*wxWHITE);
attributes.SetAlignment(wxTEXT_ALIGNMENT_LEFT); attributes.SetAlignment(wxTEXT_ALIGNMENT_LEFT);
attributes.SetLineSpacing(10); attributes.SetLineSpacing(10);
attributes.SetParagraphSpacingAfter(10); attributes.SetParagraphSpacingAfter(10);