You've already forked lazarus-ccr
RxFPC - fix compile with FPC fixes branch - tnx. thierrybo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8161 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -43,7 +43,7 @@ implementation
|
||||
uses DB, DBPropEdits, rxdbgrid, RxDBSpinEdit, RxDBTimeEdit, RxDBCtrls, rxmemds,
|
||||
ComponentEditors, rxseldsfrm, PropEdits, RxDBColorBox, rxdbdateedit, rxdbcomb,
|
||||
rxlookup, rxdbcurredit, RxDBGridFooterTools, rxdbverticalgrid
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
, RxDBGridExportPdf
|
||||
{$ENDIF}
|
||||
;
|
||||
@ -170,7 +170,7 @@ begin
|
||||
RegisterComponents('RX DBAware',[TRxDBGridFooterTools]);
|
||||
end;
|
||||
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
procedure RegisterRxDBGridExportPDF;
|
||||
begin
|
||||
RegisterComponents('RX DBAware',[TRxDBGridExportPDF]);
|
||||
@ -224,7 +224,7 @@ begin
|
||||
RegisterUnit('RxDBGridFooterTools', @RegisterRxDbGridFooterTools);
|
||||
RegisterUnit('rxdbverticalgrid', @RegisterRxDBVerticalGrid);
|
||||
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
RegisterUnit('RxDBGridExportPdf', @RegisterRxDBGridExportPDF);
|
||||
{$ENDIF}
|
||||
|
||||
|
@ -61,3 +61,12 @@
|
||||
|
||||
{.$DEFINE DEVELOPER_RX}
|
||||
{.$DEFINE FIX_WIDTH_WIDE_STRING96}
|
||||
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$DEFINE RX_USE_FCL_PDF}
|
||||
{$ENDIF}
|
||||
|
||||
{$IF FPC_FULLVERSION > 30299}
|
||||
{$DEFINE RX_USE_DELPHI_EXT_FIELD_TYPES}
|
||||
{$ENDIF}
|
||||
|
||||
|
@ -134,7 +134,7 @@ const
|
||||
'',
|
||||
'',
|
||||
''
|
||||
{$IFDEF FPC_FULLVERSION > 30200}
|
||||
{$IFDEF RX_USE_DELPHI_EXT_FIELD_TYPES}
|
||||
, ''
|
||||
, ''
|
||||
, ''
|
||||
|
@ -35,7 +35,7 @@ unit RxDBGridExportPdf;
|
||||
|
||||
interface
|
||||
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
uses
|
||||
Classes, SysUtils, DB, rxdbgrid, rxlclutils, Graphics, fpPDF, contnrs, fpparsettf,
|
||||
fpTTF;
|
||||
@ -188,10 +188,10 @@ type
|
||||
property TitleColor:TColor read FTitleColor write FTitleColor default clSilver;
|
||||
end;
|
||||
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
implementation
|
||||
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
uses Grids, rxdconst, FileUtil, Forms, Controls, LCLIntf, LazFileUtils, FPReadBMP,
|
||||
RxDBGridExportPdfSetupUnit, LazUTF8;
|
||||
|
||||
|
@ -35,7 +35,7 @@ unit RxDBGridExportPdfSetupUnit;
|
||||
|
||||
interface
|
||||
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
||||
EditBtn, ButtonPanel, ExtCtrls, ComCtrls, ColorBox, fpPDF;
|
||||
@ -93,9 +93,9 @@ const
|
||||
'B5' // ptB5
|
||||
);
|
||||
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
implementation
|
||||
{$IF (FPC_FULLVERSION >= 30004)}
|
||||
{$IFDEF RX_USE_FCL_PDF}
|
||||
uses rxdconst, LCLIntf;
|
||||
|
||||
{$R *.lfm}
|
||||
|
@ -23,9 +23,9 @@
|
||||
</CompilerOptions>
|
||||
<Description Value="Delphi VCL Extensions (RX)
|
||||
Copyright (c) 1998 Master-Bank
|
||||
translate to Lazarus by alexs in 2005 - 2020"/>
|
||||
translate to Lazarus by alexs in 2005 - 2021"/>
|
||||
<License Value="LGPL"/>
|
||||
<Version Major="3" Minor="3" Release="6" Build="232"/>
|
||||
<Version Major="3" Minor="4" Release="1" Build="234"/>
|
||||
<Files Count="70">
|
||||
<Item1>
|
||||
<Filename Value="registerrx.pas"/>
|
||||
|
Reference in New Issue
Block a user