]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't show wrong shade of grey when disabled
authorJulian Smart <julian@anthemion.co.uk>
Mon, 10 May 2004 10:53:53 +0000 (10:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 10 May 2004 10:53:53 +0000 (10:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/radiobox.cpp

index c42ccbd12c316706e4e9c6a068940c4647342783..97191a01fa1930c7d67bdd6219cbb6eb0c0513b9 100644 (file)
@@ -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()));