You've already forked lazarus-ccr
jvcllaz: Fix compilation with Laz 1.8.4/FPC3.0.4
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8252 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -31,7 +31,8 @@ unit JvPageList;
|
||||
interface
|
||||
|
||||
uses
|
||||
SysUtils, Classes, Graphics, Controls, Types, LMessages, LCLIntf, LCLType,
|
||||
LMessages, LCLIntf, LCLType, LCLVersion,
|
||||
SysUtils, Classes, Graphics, Controls, Types,
|
||||
JvComponent, JvThemes;
|
||||
|
||||
type
|
||||
@ -214,7 +215,9 @@ type
|
||||
property OnMouseEnter;
|
||||
property OnMouseLeave;
|
||||
property OnParentColorChange;
|
||||
{$IF LCL_FullVersion > 1080400}
|
||||
property ParentBackground default False;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
TJvPageList = class(TJvCustomPageList)
|
||||
@ -271,7 +274,9 @@ type
|
||||
property OnMouseWheelUp;
|
||||
property OnResize;
|
||||
property OnStartDrag;
|
||||
{$IF LCL_FullVersion > 1080400}
|
||||
property ParentBackground default False;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
@ -1186,13 +1186,13 @@ begin
|
||||
|
||||
if newHint <> inherited Hint then
|
||||
begin
|
||||
// Without the next instruction the currently shown hint will not be replaced.
|
||||
// Without the next instruction the currently shown hint will not be
|
||||
// replaced when moving the mouse from tab to tab.
|
||||
Application.CancelHint;
|
||||
|
||||
// Move the new hint text to the control, but do not overwrite the
|
||||
// own hint of the TabBar.
|
||||
// Move the new hint text to the control, but keep the TabBar's own hint.
|
||||
inc(FHintLocked);
|
||||
inherited Hint := newHint;
|
||||
Hint := newHint;
|
||||
dec(FHintLocked);
|
||||
|
||||
// Display the new hint
|
||||
|
Reference in New Issue
Block a user