From ac8ae254b4084cf7b6dda520cf1b45b8e7c4d513 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 15 Feb 2000 22:13:50 +0000 Subject: [PATCH] background color set to wxSYS_COLOUR_LISTBOX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/treectrl.h | 1 + src/gtk/listbox.cpp | 2 +- src/gtk1/listbox.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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() ); -- 2.45.2