From f94560fec926a67bbfcaccaccf7010c3d44464ec Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 5 Mar 2007 16:13:40 +0000 Subject: [PATCH] Optimization: don't set the base background colour git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextctrl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 48e63d37ac..5953ab31af 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -152,7 +152,6 @@ bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& va wxTextAttrEx attributes; attributes.SetFont(GetFont()); attributes.SetTextColour(*wxBLACK); - attributes.SetBackgroundColour(*wxWHITE); attributes.SetAlignment(wxTEXT_ALIGNMENT_LEFT); attributes.SetLineSpacing(10); attributes.SetParagraphSpacingAfter(10); -- 2.47.2