Skip to content

Commit

Permalink
Fix compilation in non Windows systems.
Browse files Browse the repository at this point in the history
  • Loading branch information
lainz committed Jun 4, 2018
1 parent 0d88687 commit 862243f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colorspeedbutton.pas
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ TColorSpeedButton = class(TBGRASpeedButton)
procedure MeasureDraw(Draw: boolean; PaintRect: TRect;
out PreferredWidth, PreferredHeight: integer);
procedure Paint; override;
{$endif}
procedure CalculatePreferredSize(var PreferredWidth, PreferredHeight: integer;
WithThemeSpace: boolean); override;
{$endif}
procedure PaintBackground(var PaintRect: TRect); override;
public
constructor Create(TheOwner: TComponent); override;
Expand Down

0 comments on commit 862243f

Please sign in to comment.