Setting of background colours is now correct.
Made virtual declarations depend on BROKEN_COMPILER define. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -329,17 +329,8 @@ wxLayoutList::Draw(wxDC &dc, bool findObject, wxPoint const &findCoords)
|
||||
|
||||
//FIXME: who frees the brush, how long does it need to exist?
|
||||
if(m_DefaultSetting)
|
||||
{
|
||||
m_DefaultSetting->Draw(dc,wxPoint(0,0),0,true);
|
||||
dc.SetBackground( wxBrush(* m_DefaultSetting->GetBGColour(),wxSOLID));
|
||||
}
|
||||
else
|
||||
dc.SetBackground( wxBrush(wxColour("White"), wxSOLID) );
|
||||
|
||||
dc.Clear();
|
||||
|
||||
|
||||
|
||||
// we calculate everything for drawing a line, then rewind to the
|
||||
// begin of line and actually draw it
|
||||
i = begin();
|
||||
|
Reference in New Issue
Block a user