Skip to content

Commit 07099a7

Browse files
authored
Merge pull request #66 from Embarcadero/expose_members
Navigating throughout class parents on field exposition
2 parents 5b3677f + 5655333 commit 07099a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WrapDelphi.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3624,7 +3624,7 @@ class procedure TPyDelphiObject.ExposeFields(const AClass: TClass;
36243624
if TPythonDocServer.Instance.ReadMemberDocStr(
36253625
LClass.ClassInfo, LRttiField, LDocStr) then
36263626
LExposedField.DocString := AnsiString(LDocStr);
3627-
LClass.ClassParent;
3627+
LClass := LClass.ClassParent;
36283628
end;
36293629

36303630
//Adds the Python attribute

0 commit comments

Comments
 (0)