]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
[ 1216436 ] cleanup 'shadow variable' warnings from gcc in headers.
[wxWidgets.git] / src / univ / winuniv.cpp
index 80c245fe450789d63cda4001039137bb666eaa26..8c8a4f17cffcbea3644efeb4a0265a84b1dcd98f 100644 (file)
@@ -316,7 +316,7 @@ bool wxWindow::DoDrawBackground(wxDC& dc)
     rect.height = size.y;
 
     wxWindow * const parent = GetParent();
-    if ( HasTransparentBackground() && parent && parent->ProvidesBackground() )
+    if ( HasTransparentBackground() && parent )
     {
         wxASSERT( !IsTopLevel() );