wxUniversal fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4056,7 +4056,7 @@ WXHBRUSH wxWindowMSW::MSWGetBgBrushForSelf(wxWindow *parent, WXHDC hDC)
|
|||||||
|
|
||||||
WXHBRUSH wxWindowMSW::MSWGetBgBrush(WXHDC hDC)
|
WXHBRUSH wxWindowMSW::MSWGetBgBrush(WXHDC hDC)
|
||||||
{
|
{
|
||||||
for ( wxWindow *win = this; win; win = win->GetParent() )
|
for ( wxWindow *win = (wxWindow *)this; win; win = win->GetParent() )
|
||||||
{
|
{
|
||||||
// background is not inherited beyond the containing TLW
|
// background is not inherited beyond the containing TLW
|
||||||
if ( win->IsTopLevel() )
|
if ( win->IsTopLevel() )
|
||||||
|
Reference in New Issue
Block a user