OW pedantic warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ad5bb7d6a6
commit
1fef34b9ee
@ -681,8 +681,8 @@ wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
||||
{
|
||||
// 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));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user