git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41881
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
void wxAnimationCtrl::DisposeToBackground(wxDC& dc)
}
void wxAnimationCtrl::DisposeToBackground(wxDC& dc)
-{
- wxBrush brush(IsUsingWindowBackgroundColour()
+{
+ wxColour col = IsUsingWindowBackgroundColour()
- : m_animation.GetBackgroundColour());
+ : m_animation.GetBackgroundColour() ;
+ wxBrush brush(col);
dc.SetBackground(brush);
dc.Clear();
}
dc.SetBackground(brush);
dc.Clear();
}