X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a5a5718592cb0873374e6ebc66d12a153d5acea..04633c190f5a6eafe607a5712647aaa131522b1f:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index c42ccbd12c..97191a01fa 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -893,9 +893,6 @@ WXHBRUSH wxRadioBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE HDC hdc = (HDC)pDC; wxColour colBack = GetBackgroundColour(); - if (!IsEnabled()) - colBack = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE); - ::SetBkColor(hdc, wxColourToRGB(colBack)); ::SetTextColor(hdc, wxColourToRGB(GetForegroundColour()));