Borland build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2544,12 +2544,12 @@ static WXLPARAM HandleItemPrepaint(wxListCtrl *listctrl,
|
||||
|
||||
|
||||
// set the colours to use for text drawing
|
||||
pLVCD->clrText = wxColourToRGB(attr->HasTextColour()
|
||||
? attr->GetTextColour()
|
||||
: listctrl->GetTextColour());
|
||||
pLVCD->clrTextBk = wxColourToRGB(attr->HasBackgroundColour()
|
||||
? attr->GetBackgroundColour()
|
||||
: listctrl->GetBackgroundColour());
|
||||
pLVCD->clrText = attr->HasTextColour()
|
||||
? wxColourToRGB(attr->GetTextColour())
|
||||
: wxColourToRGB(listctrl->GetTextColour());
|
||||
pLVCD->clrTextBk = attr->HasBackgroundColour()
|
||||
? wxColourToRGB(attr->GetBackgroundColour())
|
||||
: wxColourToRGB(listctrl->GetBackgroundColour());
|
||||
|
||||
// select the font if non default one is specified
|
||||
if ( attr->HasFont() )
|
||||
|
Reference in New Issue
Block a user