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:
Włodzimierz Skiba
2006-03-07 18:16:24 +00:00
parent 46c48053f4
commit 3568f700f6

View File

@@ -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() )