]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
[wxWidgets.git] / 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()));