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
This commit is contained in:
parent
e630cd0454
commit
800f137903
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user