]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned...
[wxWidgets.git] / src / msw / choice.cpp
index f92b66426afa871ffdec54148afc35ec02fcd2db..740d574451f94061b8b0a188b3b7c18c11aed34c 100644 (file)
@@ -413,11 +413,6 @@ WXHBRUSH wxChoice::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(
      )
 {
     HDC hdc = (HDC)pDC;
-    if (GetParent()->GetTransparentBackground())
-        SetBkMode(hdc, TRANSPARENT);
-    else
-        SetBkMode(hdc, OPAQUE);
-
     wxColour colBack = GetBackgroundColour();
 
     if (!IsEnabled())