Skip to content

Commit 208dd41

Browse files
committed
Separating TPythonGUIInputOutput from VCL and FMX after Delphi XE 2
1 parent e1e3c6f commit 208dd41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/vcl/Vcl.PythonReg.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{$I ..\Definition.Inc}
12
unit Vcl.PythonReg;
23

34
interface
@@ -11,7 +12,9 @@ implementation
1112

1213
procedure Register();
1314
begin
15+
{$IFDEF DELPHIXE2_OR_HIGHER}
1416
GroupDescendentsWith(TPythonGUIInputOutput, TControl);
17+
{$ENDIF}
1518
RegisterComponents('Python', [TPythonGUIInputOutput]);
1619
end;
1720
end.

0 commit comments

Comments
 (0)