@@ -155,6 +155,15 @@ TPyDelphiSelection = class(TPyDelphiControl)
155155 property DelphiObject: TSelection read GetDelphiObject write SetDelphiObject;
156156 end ;
157157
158+ TPyDelphiSelectionPoint = class (TPyDelphiStyledControl)
159+ function GetDelphiObject : TSelectionPoint;
160+ procedure SetDelphiObject (const Value : TSelectionPoint);
161+ public
162+ class function DelphiObjectClass : TClass; override;
163+ // Properties
164+ property DelphiObject: TSelectionPoint read GetDelphiObject write SetDelphiObject;
165+ end ;
166+
158167implementation
159168
160169uses
@@ -201,6 +210,7 @@ procedure TShapesRegistration.RegisterWrappers(
201210 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiImage);
202211 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPaintBox);
203212 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiSelection);
213+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiSelectionPoint);
204214end ;
205215
206216{ TPyDelphiShape }
@@ -476,6 +486,23 @@ procedure TPyDelphiSelection.SetDelphiObject(const Value: TSelection);
476486 inherited DelphiObject := Value ;
477487end ;
478488
489+ { TPyDelphiSelectionPoint }
490+
491+ class function TPyDelphiSelectionPoint.DelphiObjectClass : TClass;
492+ begin
493+ Result := TSelectionPoint;
494+ end ;
495+
496+ function TPyDelphiSelectionPoint.GetDelphiObject : TSelectionPoint;
497+ begin
498+ Result := TSelectionPoint(inherited DelphiObject);
499+ end ;
500+
501+ procedure TPyDelphiSelectionPoint.SetDelphiObject (const Value : TSelectionPoint);
502+ begin
503+ inherited DelphiObject := Value ;
504+ end ;
505+
479506initialization
480507 RegisteredUnits.Add(TShapesRegistration.Create);
481508
0 commit comments