mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 09:40:45 +02:00
carbon: fix initializing control enabled state
git-svn-id: trunk@58782 -
This commit is contained in:
parent
addae1034e
commit
935407cbf9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user