diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-07-15 12:09:24 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-07-15 12:09:24 +0100 |
commit | 9ce00fb11285c7920e8a48640e184479c2765252 (patch) | |
tree | 91c5dbbd338e0fe040b8a9fe1a5b25a3c3b4dd9c | |
parent | 5250f2f9d149177fb949a734726d59f49317c3b6 (diff) | |
download | fpGUI-9ce00fb11285c7920e8a48640e184479c2765252.tar.xz |
Make clear what the default values are for two properties in TfpgImagePanel
-rw-r--r-- | src/gui/fpg_panel.pas | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/fpg_panel.pas b/src/gui/fpg_panel.pas index 2054959d..aedb7ace 100644 --- a/src/gui/fpg_panel.pas +++ b/src/gui/fpg_panel.pas @@ -308,8 +308,8 @@ type constructor Create(AOwner: TComponent); override; destructor Destroy; override; property Image: TfpgImage read FImage write SetImage; - property OwnsImage: Boolean read FOwnsImage write FOwnsImage; - property ScaleImage: Boolean read FScaleImage write SetScaleImage; + property OwnsImage: Boolean read FOwnsImage write FOwnsImage default False; + property ScaleImage: Boolean read FScaleImage write SetScaleImage default False; end; @@ -1110,6 +1110,7 @@ begin inherited Create(AOwner); FImage := nil; FOwnsImage := False; + FScaleImage := False; end; destructor TfpgImagePanel.Destroy; |