X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..e917b59561b4b216973151182b07ba5bccbf30a2:/src/gtk/slider.cpp?ds=inline diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index 27f9bdd393..f3ab24213f 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -142,8 +142,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, m_parent->DoAddChild( this ); PostCreation(); - - SetBackgroundColour( parent->GetBackgroundColour() ); + InheritAttributes(); Show( TRUE );