From 1fef34b9eed0afe7f3d65f7c62bd85a679a5b6db Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 13 Apr 2005 17:54:58 +0000 Subject: [PATCH] OW pedantic warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/radiobox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index ac037051d8..c8e8ee0a6b 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -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; -- 2.50.0