]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bmpbuttn.cpp
removed unneeded makefiles
[wxWidgets.git] / src / gtk / bmpbuttn.cpp
index 8e548b420cd1bd3195c27df59e9168192d73eb92..6d463b364bd23e15bd91db337ea12747294b2913 100644 (file)
@@ -176,8 +176,7 @@ bool wxBitmapButton::Create( wxWindow *parent,
     m_parent->DoAddChild( this );
 
     PostCreation();
-
-    SetBackgroundColour( parent->GetBackgroundColour() );
+    InheritAttributes();
 
     Show( TRUE );