From 24ece8d5d3a175673e4a8a6b6378d9446e349aa0 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 1 Oct 2010 15:06:57 +0200 Subject: Set default property values for TfpgWindowBase --- src/corelib/fpg_base.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib') 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; -- cgit v1.2.3-70-g09d2