]> git.saurik.com Git - wxWidgets.git/commitdiff
Optimization: don't set the base background colour
authorJulian Smart <julian@anthemion.co.uk>
Mon, 5 Mar 2007 16:13:40 +0000 (16:13 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 5 Mar 2007 16:13:40 +0000 (16:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextctrl.cpp

index 48e63d37acf369ccac969f34a40414a7da230977..5953ab31afa8be0d4b0004924d7e70d1077c33a6 100644 (file)
@@ -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);