]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
removed wxFunction
[wxWidgets.git] / src / msw / control.cpp
index 8be39b2fca205ff6f9f0c6fb41ab5b7c05ddadc6..bbb8d431dd825b4ba27b6b032699101e31aafb24 100644 (file)
@@ -269,7 +269,7 @@ WXHBRUSH wxControl::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED
 #endif // wxUSE_CTL3D
 
     HDC hdc = (HDC)pDC;
-    if (GetParent()->GetTransparentBackground())
+    if (GetParent()->GetTransparentBackground() /* || (GetParent()->GetExtraStyle() & wxWS_EX_THEMED_BACKGROUND) */ )
         SetBkMode(hdc, TRANSPARENT);
     else
         SetBkMode(hdc, OPAQUE);