@@ -29,6 +29,16 @@ TPyDelphiPanel = class(TPyDelphiPresentedControl)
2929 property DelphiObject: TPanel read GetDelphiObject write SetDelphiObject;
3030 end ;
3131
32+ TPyDelphiCalloutPanel = class (TPyDelphiPanel)
33+ private
34+ function GetDelphiObject : TCalloutPanel;
35+ procedure SetDelphiObject (const Value : TCalloutPanel);
36+ public
37+ class function DelphiObjectClass : TClass; override;
38+ // Properties
39+ property DelphiObject: TCalloutPanel read GetDelphiObject write SetDelphiObject;
40+ end ;
41+
3242implementation
3343
3444{ Register the wrappers, the globals and the constants }
@@ -58,6 +68,7 @@ procedure TStdCtrlsRegistration.RegisterWrappers(
5868 inherited ;
5969 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedTextControl);
6070 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPanel);
71+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCalloutPanel);
6172end ;
6273
6374{ TPyDelphiPresentedTextControl }
@@ -95,6 +106,23 @@ procedure TPyDelphiPanel.SetDelphiObject(const Value: TPanel);
95106 inherited DelphiObject := Value ;
96107end ;
97108
109+ { TPyDelphiCalloutPanel }
110+
111+ class function TPyDelphiCalloutPanel.DelphiObjectClass : TClass;
112+ begin
113+ Result := TCalloutPanel;
114+ end ;
115+
116+ function TPyDelphiCalloutPanel.GetDelphiObject : TCalloutPanel;
117+ begin
118+ Result := TCalloutPanel(inherited DelphiObject);
119+ end ;
120+
121+ procedure TPyDelphiCalloutPanel.SetDelphiObject (const Value : TCalloutPanel);
122+ begin
123+ inherited DelphiObject := Value ;
124+ end ;
125+
98126initialization
99127 RegisteredUnits.Add(TStdCtrlsRegistration.Create);
100128
0 commit comments