Description: Fix background color of sliders
Author: Benjamin Drung <bdrung@ubuntu.com>
Bug: http://bugzilla.audacityteam.org/show_bug.cgi?id=175

--- 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 <wx/button.h>
 #include <wx/statline.h>
 #include <wx/sizer.h>
+#include <wx/settings.h>
 
 #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.
