]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/spinbutt.cpp
Added some placeholders...
[wxWidgets.git] / src / gtk1 / spinbutt.cpp
index 899c30c81684000fd9d5bdfce05a82bf71ea1de1..2d5eb9650cd5acf8b9447475eec714eef6d5c6b4 100644 (file)
@@ -151,8 +151,7 @@ bool wxSpinButton::Create(wxWindow *parent,
     m_parent->DoAddChild( this );
 
     PostCreation();
-
-    SetBackgroundColour( parent->GetBackgroundColour() );
+    InheritAttributes();
 
     Show( TRUE );