]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
VC 7.1 warning fix
[wxWidgets.git] / src / msw / textctrl.cpp
index 1c63618df51a471e869f53b396ccb4fc05af079a..8b901fa1071e588f4e66706fa4770f1131300de5 100644 (file)
@@ -1483,11 +1483,6 @@ WXHBRUSH wxTextCtrl::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE
 #endif // wxUSE_CTL3D
 
     HDC hdc = (HDC)pDC;
-    if (GetParent()->GetTransparentBackground())
-        SetBkMode(hdc, TRANSPARENT);
-    else
-        SetBkMode(hdc, OPAQUE);
-
     wxColour colBack = GetBackgroundColour();
 
     if (!IsEnabled() && (GetWindowStyle() & wxTE_MULTILINE) == 0)