background color set to wxSYS_COLOUR_LISTBOX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-02-15 22:19:10 +00:00
parent ac8ae254b4
commit 91fc2bdc33
2 changed files with 10 additions and 4 deletions

View File

@@ -1175,7 +1175,7 @@ wxListMainWindow::wxListMainWindow( wxWindow *parent, wxWindowID id,
m_renameTimer = new wxListRenameTimer( this );
m_renameAccept = FALSE;
SetBackgroundColour( *wxWHITE );
SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
}
wxListMainWindow::~wxListMainWindow()
@@ -2743,7 +2743,7 @@ bool wxListCtrl::Create(wxWindow *parent,
m_headerWin = (wxListHeaderWindow *) NULL;
}
SetBackgroundColour( *wxWHITE );
SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
return ret;
}