carbon: fix initializing control enabled state

git-svn-id: trunk@58782 -
This commit is contained in:
blikblum 2018-08-26 19:17:57 +00:00
parent addae1034e
commit 935407cbf9

View File

@ -730,7 +730,10 @@ begin
FBoundsReported := False;
CreateWidget(AParams);
if (AParams.Style and WS_DISABLED) <> 0 then
Enable(False);
{$IFDEF VerboseWidget}
DebugLn('TCarbonWidget.Create ', ClassName, ' ', LCLObject.Name, ': ',
LCLObject.ClassName);