]> git.saurik.com Git - wxWidgets.git/commitdiff
Setting background colour on listbox parent makes it look ugly, do not
authorMattia Barbon <mbarbon@cpan.org>
Fri, 14 Feb 2003 20:43:53 +0000 (20:43 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Fri, 14 Feb 2003 20:43:53 +0000 (20:43 +0000)
do it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/listbox.cpp

index 6beec8c9e7ec37c197527dbb00d716c92aa37308..045bbc81d087dfbc0eaa237b8af80ad014c3563c 100644 (file)
@@ -624,7 +624,8 @@ void wxListBox::ChangeBackgroundColour()
         XmNtroughColor, backgroundColour.AllocColour(XtDisplay(vsb)),
         NULL);
 
-    DoChangeBackgroundColour((WXWidget) parent, m_backgroundColour, TRUE);
+    // MBN: why change parent's background? It looks really ugly.
+    // DoChangeBackgroundColour((WXWidget) parent, m_backgroundColour, TRUE);
 }
 
 void wxListBox::ChangeForegroundColour()