From: Václav Slavík Date: Tue, 15 Feb 2000 22:13:50 +0000 (+0000) Subject: background color set to wxSYS_COLOUR_LISTBOX X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ac8ae254b4084cf7b6dda520cf1b45b8e7c4d513 background color set to wxSYS_COLOUR_LISTBOX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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() );