]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbox.cpp
some wxArtProv docs
[wxWidgets.git] / src / msw / statbox.cpp
index a713c99cb5ea89aaa78f5389fedcbf12241cfe7b..fb017bd21924308f7369a5e449248974508dc7d0 100644 (file)
@@ -79,6 +79,9 @@ bool wxStaticBox::Create(wxWindow *parent,
                            WS_EX_TRANSPARENT) )
         return FALSE;
 
+    // to be transparent we should have the same colour as the parent as well
+    SetBackgroundColour(GetParent()->GetBackgroundColour());
+
     return TRUE;
 }