]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
added constructor for compliance with wxPython
[wxWidgets.git] / src / msw / radiobox.cpp
index 026f8a283080f7c3eb9a09d23fed2e0392272dd2..94deec9009b37905cb42910bb6da1caa3b3307d5 100644 (file)
@@ -835,7 +835,7 @@ WXHBRUSH wxRadioBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE
     wxColour colBack = GetBackgroundColour();
 
     if (!IsEnabled())
-        colBack = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE);
+        colBack = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
 
     ::SetBkColor(hdc, wxColourToRGB(colBack));
     ::SetTextColor(hdc, wxColourToRGB(GetForegroundColour()));