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 // set the colours to use for text drawing
pLVCD->clrText = wxColourToRGB(attr->HasTextColour() pLVCD->clrText = attr->HasTextColour()
? attr->GetTextColour() ? wxColourToRGB(attr->GetTextColour())
: listctrl->GetTextColour()); : wxColourToRGB(listctrl->GetTextColour());
pLVCD->clrTextBk = wxColourToRGB(attr->HasBackgroundColour() pLVCD->clrTextBk = attr->HasBackgroundColour()
? attr->GetBackgroundColour() ? wxColourToRGB(attr->GetBackgroundColour())
: listctrl->GetBackgroundColour()); : wxColourToRGB(listctrl->GetBackgroundColour());
// select the font if non default one is specified // select the font if non default one is specified
if ( attr->HasFont() ) if ( attr->HasFont() )