]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolbar.cpp
don't use wxFileConfig to parse kdeglobals, it's not meant for such use. Fixes bug...
[wxWidgets.git] / src / gtk1 / scrolbar.cpp
index 60750087df39b9d1f0ccc86f1df1ff2563ec95ea..edc4f34d719e579a5ad505dd4400523c2b967c9c 100644 (file)
@@ -180,11 +180,10 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
     m_parent->DoAddChild( this );
 
     PostCreation();
+    InheritAttributes();
 
     SetBestSize(size);
 
-    SetBackgroundColour( parent->GetBackgroundColour() );
-
     Show( TRUE );
 
     return TRUE;