diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 15:06:57 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 15:06:57 +0200 |
commit | 24ece8d5d3a175673e4a8a6b6378d9446e349aa0 (patch) | |
tree | a73b8460765b957ac816447b4b4f607c656dfe90 /src | |
parent | e31ce507d2c6a86da481ca47bbf0ab6e0efd8964 (diff) | |
download | fpGUI-24ece8d5d3a175673e4a8a6b6378d9446e349aa0.tar.xz |
Set default property values for TfpgWindowBase
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/fpg_base.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas index fb8ecdd1..c08bea71 100644 --- a/src/corelib/fpg_base.pas +++ b/src/corelib/fpg_base.pas @@ -488,8 +488,8 @@ type property Height: TfpgCoord read FHeight write SetHeight; property MinWidth: TfpgCoord read FMinWidth write FMinWidth; property MinHeight: TfpgCoord read FMinHeight write FMinHeight; - property MaxWidth: TfpgCoord read FMaxWidth write FMaxWidth; - property MaxHeight: TfpgCoord read FMaxHeight write FMaxHeight; + property MaxWidth: TfpgCoord read FMaxWidth write FMaxWidth default 0; + property MaxHeight: TfpgCoord read FMaxHeight write FMaxHeight default 0; property Canvas: TfpgCanvasBase read GetCanvas; property Parent: TfpgWindowBase read GetParent write SetParent; property MouseCursor: TMouseCursor read FMouseCursor write SetMouseCursor; |