From b98738705265d77937c62bdfbf02343ccc1444eb Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Tue, 14 Dec 2004 12:33:53 +0000
Subject: [PATCH] more wxUniv compilation fixes (bug 1085003)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/msw/window.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/msw/window.cpp b/src/msw/window.cpp
index 7bb0d7c97a..8c9c9ac7d3 100644
--- a/src/msw/window.cpp
+++ b/src/msw/window.cpp
@@ -4051,10 +4051,10 @@ wxColour wxWindowMSW::MSWGetBgColourForChild(wxWindow * WXUNUSED(child))
 
 WXHBRUSH wxWindowMSW::MSWGetBgBrushForSelf(wxWindow *parent, WXHDC hDC)
 {
-    return parent->MSWGetBgBrushForChild(hDC, this);
+    return parent->MSWGetBgBrushForChild(hDC, (wxWindow *)this);
 }
 
-WXHBRUSH wxWindow::MSWGetBgBrush(WXHDC hDC)
+WXHBRUSH wxWindowMSW::MSWGetBgBrush(WXHDC hDC)
 {
     for ( wxWindow *win = this; win; win = win->GetParent() )
     {
-- 
2.47.2