]> git.saurik.com Git - wxWidgets.git/commitdiff
more wxUniv compilation fixes (bug 1085003)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Dec 2004 12:33:53 +0000 (12:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Dec 2004 12:33:53 +0000 (12:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 7bb0d7c97a0efd056a375ed6ab7c8a9fcc9e1cd3..8c9c9ac7d31a79ed5f20adf9882a8e079fa5c8f7 100644 (file)
@@ -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() )
     {