@@ -309,6 +309,16 @@ TPyDelphiExpander = class(TPyDelphiTextControl)
309309 property DelphiObject: TExpander read GetDelphiObject write SetDelphiObject;
310310 end ;
311311
312+ TPyDelphiImageControl = class (TPyDelphiStyledControl)
313+ private
314+ function GetDelphiObject : TImageControl;
315+ procedure SetDelphiObject (const Value : TImageControl);
316+ public
317+ class function DelphiObjectClass : TClass; override;
318+ // Properties
319+ property DelphiObject: TImageControl read GetDelphiObject write SetDelphiObject;
320+ end ;
321+
312322implementation
313323
314324{ Register the wrappers, the globals and the constants }
@@ -366,6 +376,7 @@ procedure TStdCtrlsRegistration.RegisterWrappers(
366376 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiArcDial);
367377 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiExpanderButton);
368378 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiExpander);
379+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiImageControl);
369380end ;
370381
371382{ TPyDelphiPresentedTextControl }
@@ -880,6 +891,23 @@ procedure TPyDelphiExpander.SetDelphiObject(const Value: TExpander);
880891 inherited DelphiObject := Value ;
881892end ;
882893
894+ { TPyDelphiImageControl }
895+
896+ class function TPyDelphiImageControl.DelphiObjectClass : TClass;
897+ begin
898+ Result := TImageControl;
899+ end ;
900+
901+ function TPyDelphiImageControl.GetDelphiObject : TImageControl;
902+ begin
903+ Result := TImageControl(inherited DelphiObject);
904+ end ;
905+
906+ procedure TPyDelphiImageControl.SetDelphiObject (const Value : TImageControl);
907+ begin
908+ inherited DelphiObject := Value ;
909+ end ;
910+
883911initialization
884912 RegisteredUnits.Add(TStdCtrlsRegistration.Create);
885913
0 commit comments