Setting background colour on listbox parent makes it look ugly, do not

do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-02-14 20:43:53 +00:00
parent 369da72455
commit 73d33f1ac6

View 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()