From 800f137903a7962385d79c054128574704e869d0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 11 Feb 2008 22:34:13 +0000 Subject: [PATCH] initialize m_backgroundBrush to an invalid brush instead of wxTRANSPARENT_BRUSH, this shouldn't change anything but avoids unneeded initialization git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 09b466d07a..aea373f4ca 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -338,7 +338,7 @@ wxDCImpl::wxDCImpl( wxDC *owner ) , m_mappingMode(wxMM_TEXT) , m_pen() , m_brush() - , m_backgroundBrush(*wxTRANSPARENT_BRUSH) + , m_backgroundBrush() , m_textForegroundColour(*wxBLACK) , m_textBackgroundColour(*wxWHITE) , m_font() -- 2.45.2