51 FXFont* font = myList->getFont();
55 th = font->getFontHeight();
58 dc.setForeground(myList->getSelBackColor());
62 dc.fillRectangle(xx, yy, ww, hh);
64 dc.drawFocusRectangle(xx + 1, yy + 1, ww - 2, hh - 2);
68 dc.drawIcon(icon, xx, yy + (hh - ih) / 2);
74 dc.setForeground(makeShadowColor(myList->getBackColor()));
75 }
else if (isSelected()) {
76 dc.setForeground(myList->getSelTextColor());
78 dc.setForeground(myList->getTextColor());
80 dc.drawText(xx, yy + (hh - th) / 2 + font->getFontAscent(), label);