From: Vadim Zeitlin Date: Fri, 15 Mar 2002 19:46:53 +0000 (+0000) Subject: fixed scrollbar shaft colour X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5d3769f50dcd5a127059ec770cb45eae06800edc fixed scrollbar shaft colour git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index 9217d0363e..ec3d13ca87 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -1338,8 +1338,12 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const case CONTROL_TEXT: return wxColour(GetSysColor(COLOR_BTNTEXT)); - case SCROLLBAR: return wxColour(GetSysColor(COLOR_SCROLLBAR)); - case SCROLLBAR_PRESSED: return wxColour(GetSysColor(COLOR_HIGHLIGHT)); +#if defined(COLOR_3DLIGHT) + case SCROLLBAR: return wxColour(GetSysColor(COLOR_3DLIGHT)); +#else + case SCROLLBAR: return wxColour(0xe0e0e0); +#endif + case SCROLLBAR_PRESSED: return wxColour(GetSysColor(COLOR_BTNTEXT)); case HIGHLIGHT: return wxColour(GetSysColor(COLOR_HIGHLIGHT)); case HIGHLIGHT_TEXT: return wxColour(GetSysColor(COLOR_HIGHLIGHTTEXT));