IDE: designer: menu editor: less overhead

git-svn-id: trunk@52224 -
This commit is contained in:
mattias 2016-04-20 09:41:15 +00:00
parent 21b24b5afb
commit 4819139549

View File

@ -1889,11 +1889,16 @@ begin
GlobalDesignHook.AddHandlerObjectPropertyChanged(@OnObjectPropertyChanged);
GlobalDesignHook.AddHandlerModified(@OnDesignerModified);
GlobalDesignHook.AddHandlerRefreshPropertyValues(@OnDesignerRefreshPropertyValues);
Parent := aForm;
AutoSize := False;
Color := clBtnFace;
BorderStyle := bsNone;
Align := alClient;
DisableAutoSizing;
try
AutoSize := False;
Color := clBtnFace;
BorderStyle := bsNone;
Align := alClient;
Parent := aForm;
finally
EnableAutoSizing;
end;
end;
destructor TShadowMenu.Destroy;