]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
wxWindow split (MSW part of changes)
[wxWidgets.git] / src / msw / dc.cpp
index 63727877964d84e3352d17edcbfac7caf7a04cb6..b300d73dfe9adbcadade9697d833826630ee630c 100644 (file)
@@ -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);
             }
         }
     }