more wxUniv compilation fixes (bug 1085003)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user