wxWindow split (MSW part of changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -803,7 +803,7 @@ void wxDC::SetBackground(const wxBrush& brush)
|
||||
{
|
||||
if (m_backgroundBrush.GetStyle()==wxTRANSPARENT)
|
||||
{
|
||||
m_canvas->m_backgroundTransparent = TRUE;
|
||||
m_canvas->SetTransparent(TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -815,7 +815,7 @@ void wxDC::SetBackground(const wxBrush& brush)
|
||||
// wxWindow::SetTransparency(). Should that apply to the child itself, or the
|
||||
// parent?
|
||||
// m_canvas->SetBackgroundColour(m_backgroundBrush.GetColour());
|
||||
m_canvas->m_backgroundTransparent = FALSE;
|
||||
m_canvas->SetTransparent(FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user