|
@@ -83,11 +83,6 @@ begin
|
|
RegisterComponents('JR', [TBitmapButton]);
|
|
RegisterComponents('JR', [TBitmapButton]);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function TBitmapButton.InitializeFromIcon(const Instance: HINST; const Name: PChar; const BkColor: TColor; const AscendingTrySizes: array of Integer): Boolean;
|
|
|
|
-begin
|
|
|
|
- Result := FImpl.InitializeFromIcon(HInstance, Name, BkColor, AscendingTrySizes);
|
|
|
|
-end;
|
|
|
|
-
|
|
|
|
constructor TBitmapButton.Create(AOwner: TComponent);
|
|
constructor TBitmapButton.Create(AOwner: TComponent);
|
|
begin
|
|
begin
|
|
inherited;
|
|
inherited;
|
|
@@ -110,6 +105,11 @@ begin
|
|
inherited;
|
|
inherited;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+function TBitmapButton.InitializeFromIcon(const Instance: HINST; const Name: PChar; const BkColor: TColor; const AscendingTrySizes: array of Integer): Boolean;
|
|
|
|
+begin
|
|
|
|
+ Result := FImpl.InitializeFromIcon(HInstance, Name, BkColor, AscendingTrySizes);
|
|
|
|
+end;
|
|
|
|
+
|
|
procedure TBitmapButton.SetAutoSize(Value: Boolean);
|
|
procedure TBitmapButton.SetAutoSize(Value: Boolean);
|
|
begin
|
|
begin
|
|
FImpl.SetAutoSize(Self, Value);
|
|
FImpl.SetAutoSize(Self, Value);
|