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
|
// 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() )
|
||||||
|
Reference in New Issue
Block a user