lcl: misc formatting

git-svn-id: trunk@18096 -
This commit is contained in:
paul 2009-01-04 09:32:21 +00:00
parent a256b569c8
commit 342531bc74
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ type
property AutoScroll: Boolean read FAutoScroll write SetAutoScroll default true;
procedure AlignControls(AControl: TControl; var ARect: TRect); override;
procedure CreateWnd; override;
function GetClientScrollOffset: TPoint; override;
function GetClientScrollOffset: TPoint; override;
function GetLogicalClientRect: TRect; override;// logical size of client area
procedure DoOnResize; override;
procedure WMHScroll(var Message : TLMHScroll); message LM_HScroll;

View File

@ -546,7 +546,7 @@ begin
Assert(False, 'Trace:WMSIZE in TCustomForm');
if not (csDesigning in ComponentState) then begin
OldState:=FWindowState;
Case (Message.SizeType and not SIZE_SourceIsInterface) of
case (Message.SizeType and not SIZE_SourceIsInterface) of
SIZENORMAL :
if Showing then
FWindowState := wsNormal;