]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/slider.cpp
implementation for mac added
[wxWidgets.git] / src / gtk1 / slider.cpp
index 27f9bdd3936289402833a27dcf2461c8362b8dea..f3ab24213f9f949e8eda96895e50e4a8b61325c5 100644 (file)
@@ -142,8 +142,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     m_parent->DoAddChild( this );
 
     PostCreation();
     m_parent->DoAddChild( this );
 
     PostCreation();
-
-    SetBackgroundColour( parent->GetBackgroundColour() );
+    InheritAttributes();
 
     Show( TRUE );
 
 
     Show( TRUE );