]> git.saurik.com Git - wxWidgets.git/commitdiff
initialize m_backgroundBrush to an invalid brush instead of wxTRANSPARENT_BRUSH,...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 11 Feb 2008 22:34:13 +0000 (22:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 11 Feb 2008 22:34:13 +0000 (22:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dcbase.cpp

index 09b466d07aefa55bc846cf83db9b6d443b7d33a1..aea373f4ca7ac5bc3e5327202a8d7a2bbed755df 100644 (file)
@@ -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()