]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
don't declare inline function with dllexport declaration, this provokes mingw32 warni...
[wxWidgets.git] / src / univ / winuniv.cpp
index 6a03329594c297fbc4457a3188b9af76b537e134..90bb87c58f2780dc5dc4e3c3cae36d0d88fa8053 100644 (file)
@@ -359,7 +359,7 @@ bool wxWindow::DoDrawBackground(wxDC& dc)
     rect.height = size.y;
 
     wxWindow * const parent = GetParent();
-    if ( HasTransparentBackground() && parent )
+    if ( HasTransparentBackground() && !UseBgCol() && parent )
     {
         wxASSERT( !IsTopLevel() );