git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6063
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_renameTimer = new wxListRenameTimer( this );
m_renameAccept = FALSE;
m_renameTimer = new wxListRenameTimer( this );
m_renameAccept = FALSE;
- SetBackgroundColour( *wxWHITE );
+ SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
}
wxListMainWindow::~wxListMainWindow()
}
wxListMainWindow::~wxListMainWindow()
m_headerWin = (wxListHeaderWindow *) NULL;
}
m_headerWin = (wxListHeaderWindow *) NULL;
}
- SetBackgroundColour( *wxWHITE );
+ SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
wxSystemSettings::GetSystemColour(wxSYS_COLOUR_HIGHLIGHT),
wxSOLID
);
wxSystemSettings::GetSystemColour(wxSYS_COLOUR_HIGHLIGHT),
wxSOLID
);
+ m_normalBrush = new wxBrush
+ (
+ wxSystemSettings::GetSystemColour(wxSYS_COLOUR_LISTBOX),
+ wxSOLID
+ );
m_imageListNormal =
m_imageListState = (wxImageList *) NULL;
m_imageListNormal =
m_imageListState = (wxImageList *) NULL;
SetValidator( validator );
#endif
SetValidator( validator );
#endif
- SetBackgroundColour( *wxWHITE );
+ SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
// m_dottedPen = wxPen( "grey", 0, wxDOT ); too slow under XFree86
m_dottedPen = wxPen( "grey", 0, 0 );
// m_dottedPen = wxPen( "grey", 0, wxDOT ); too slow under XFree86
m_dottedPen = wxPen( "grey", 0, 0 );
wxTreeCtrl::~wxTreeCtrl()
{
wxDELETE( m_hilightBrush );
wxTreeCtrl::~wxTreeCtrl()
{
wxDELETE( m_hilightBrush );
+ wxDELETE( m_normalBrush );