From: Vadim Zeitlin Date: Mon, 11 Feb 2008 22:34:13 +0000 (+0000) Subject: initialize m_backgroundBrush to an invalid brush instead of wxTRANSPARENT_BRUSH,... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/800f137903a7962385d79c054128574704e869d0?ds=inline 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 --- 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()