git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33583
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// no, we don't, erase the background ourselves (don't use our own
// colour as with static box, see comments there)
{
// no, we don't, erase the background ourselves (don't use our own
// colour as with static box, see comments there)
- wxFillRect(GetHwnd(), (HDC)wParam,
- GetHbrushOf(wxBrush(GetParent()->GetBackgroundColour())));
+ wxBrush brush(GetParent()->GetBackgroundColour());
+ wxFillRect(GetHwnd(), (HDC)wParam, GetHbrushOf(brush));