]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolbar.cpp
regenerated configure from new configure.in
[wxWidgets.git] / src / gtk1 / scrolbar.cpp
index 98a3d091bcae4e51788a330e66dd0e27743d4dd3..e5e2cd59f7e3ed04a14d874e270243481e5ac498 100644 (file)
@@ -2,9 +2,8 @@
 // Name:        scrolbar.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Created:     01/02/97
-// Id:
-// Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// Id:          $Id$
+// Copyright:   (c) 1998 Robert Roebling
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -129,6 +128,8 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
 
   PostCreation();
   
+  SetBackgroundColour( parent->GetBackgroundColour() );
+
   Show( TRUE );
     
   return TRUE;
@@ -260,3 +261,10 @@ bool wxScrollBar::IsOwnGtkWindow( GdkWindow *window )
           (window == range->step_forw) ||
           (window == range->step_back) );
 }
+
+void wxScrollBar::ApplyWidgetStyle()
+{
+  SetWidgetStyle();
+  gtk_widget_set_style( m_widget, m_widgetStyle );
+}
+