]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
don't define functions unused under CE when compiling for it (avoids warnings)
[wxWidgets.git] / src / gtk / 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;