* Patch and fix for 1313 from Tomáš Gregoric

git-svn-id: trunk@7981 -
This commit is contained in:
marc 2005-10-22 13:09:40 +00:00
parent 3bb8fa7c33
commit 4a42afcb2f
3 changed files with 3 additions and 1 deletions

View File

@ -2269,7 +2269,7 @@ begin
{$ENDIF}
end;
{$IFDEF SYN_LAZARUS}
if (X < fGutterWidth) then begin
if (X < fGutterWidth) and (Button=mbLeft) then begin
Include(fStateFlags, sfPossibleGutterClick);
DoOnGutterClick(X, Y);
end;

View File

@ -3331,6 +3331,7 @@ Begin
else
Pages.Add('unit1');
PageIndex := 0; // Set it to the first page
PopupMenu := SrcPopupMenu;
if EditorOpts.ShowTabCloseButtons then
Options:=Options+[nboShowCloseButtons]
else

View File

@ -273,6 +273,7 @@ type
property OnResize;
property Options;
property PageIndex;
property PopupMenu;
property ShowTabs;
end;