summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_base.pas4
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;