Description: Fix background color of sliders Author: Benjamin Drung Forwarded: yes --- audacity-1.3.12.orig/src/widgets/ASlider.cpp +++ audacity-1.3.12/src/widgets/ASlider.cpp @@ -62,6 +62,7 @@ of an LWSlider or ASlider. #include #include #include +#include #if defined(__WXMSW__) && !defined(__CYGWIN__) #define USE_POPUPWIN 1 @@ -674,7 +675,7 @@ void LWSlider::Draw() TransparentColour = theTheme.Colour( clrTrackInfo ); #endif - dc->SetBackground( wxBrush( TransparentColour ) ); + dc->SetBackground( wxBrush( wxSystemSettings::GetColour( wxSYS_COLOUR_BACKGROUND ) ) ); dc->Clear(); // Draw the line along which the thumb moves.