X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..320c341a1017798148ace98f7416c8a3cc902c04:/src/gtk1/scrolbar.cpp?ds=inline diff --git a/src/gtk1/scrolbar.cpp b/src/gtk1/scrolbar.cpp index 60750087df..edc4f34d71 100644 --- a/src/gtk1/scrolbar.cpp +++ b/src/gtk1/scrolbar.cpp @@ -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;