GridCtrl: Fixed warnings

git-svn-id: svn://ultimatepp.org/upp/trunk@12942 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-04-04 18:36:10 +00:00
parent dab5db8fa6
commit 1c8db95e61
2 changed files with 12 additions and 7 deletions

View file

@ -194,7 +194,6 @@ void DropGrid::Paint(Draw& w)
else
clear.Hide();
GridDisplay &disp = display ? *display : list.GetDisplay();
bool hf = HasFocus();
bool isnull = rowid < 0;
Color fg = hf ? SColorHighlightText() : IsEnabled() ? SColorText() : SColorDisabled();