Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JvDBGrid.pas #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions jvcl/run/JvDBGrid.pas
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Polaris Software
Lionel Reynaud
Flemming Brandt Clausen
Fr�d�ric Leneuf-Magaud
Frédéric Leneuf-Magaud
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should not have been changed, it seems that you inadvertently changed the encoding of the file from what it was to something else.
Could you please restore the original encoding?

Andreas Hausladen
Ronald Hoek

Expand Down Expand Up @@ -51,7 +51,7 @@
a gap after the last column). This bug comes from DBGrid.pas.

-----------------------------------------------------------------------------
2004/07/08 - WPostma merged changes by Fr�d�ric Leneuf-Magaud and ahuser.}
2004/07/08 - WPostma merged changes by Frédéric Leneuf-Magaud and ahuser.}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above


// $Id$

Expand Down Expand Up @@ -3842,7 +3842,10 @@ procedure TJvDBGrid.DrawColumnCell(const Rect: TRect; DataCol: Integer;
begin
Bmp := GetGridBitmap(TGridPicture(I));
if Highlight then
DrawThemedHighlighting(Canvas, Rect)
begin
if not DrawThemedHighlighting(Canvas, Rect) then
Canvas.FillRect(Rect);
end
else
Canvas.FillRect(Rect);
DrawBitmapTransparent(Canvas, (Rect.Left + Rect.Right + 1 - Bmp.Width) div 2,
Expand Down