mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 11:58:12 +02:00
ide: add check if TFrame doesnot exits on palette (lcl and ide has been compiled with different frame defines)
git-svn-id: trunk@16086 -
This commit is contained in:
parent
5199022d0c
commit
669af5fc10
@ -894,7 +894,8 @@ var
|
||||
FrameComp: TRegisteredComponent;
|
||||
begin
|
||||
FrameComp:=IDEComponentPalette.FindComponent('TFrame');
|
||||
FrameComp.OnGetCreationClass:=@FrameCompGetCreationClass;
|
||||
if FrameComp <> nil then
|
||||
FrameComp.OnGetCreationClass:=@FrameCompGetCreationClass;
|
||||
end;
|
||||
|
||||
procedure TCustomFormEditor.SetSelection(
|
||||
|
@ -711,7 +711,7 @@ const
|
||||
SBS_SIZEBOX = 8;
|
||||
SBS_SIZEGRIP = $10;
|
||||
|
||||
SIF_Range = 1;
|
||||
SIF_RANGE = 1;
|
||||
SIF_PAGE = 2;
|
||||
SIF_POS = 4;
|
||||
SIF_DISABLENOSCROLL = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user