diff --git a/include/wx/generic/treectrl.h b/include/wx/generic/treectrl.h index 8b9b85dff8..dc9b2e8ca0 100644 --- a/include/wx/generic/treectrl.h +++ b/include/wx/generic/treectrl.h @@ -440,6 +440,7 @@ protected: int m_lineHeight; wxPen m_dottedPen; wxBrush *m_hilightBrush; + wxBrush *m_normalBrush; wxImageList *m_imageListNormal, *m_imageListState; int m_dragCount; diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index cf6a80e27a..c140ad2ddf 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -349,7 +349,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id, PostCreation(); - SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_WINDOW ) ); + SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) ); SetForegroundColour( parent->GetForegroundColour() ); SetFont( parent->GetFont() ); diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index cf6a80e27a..c140ad2ddf 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -349,7 +349,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id, PostCreation(); - SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_WINDOW ) ); + SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) ); SetForegroundColour( parent->GetForegroundColour() ); SetFont( parent->GetFont() );