You've already forked lazarus-ccr
spktoolbar: Fix hint not always showing when the toolbar has its own hint. Issue #39022, patch by michalgw.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -650,6 +650,9 @@ procedure TSpkToolbar.CMHintShow(var Message: TLMessage);
|
||||
var
|
||||
PanelIdx, ItemIdx: Integer;
|
||||
begin
|
||||
with TCMHintShow(Message).HintInfo^ do
|
||||
if HintStr <> '' then
|
||||
CursorRect := Rect(CursorPos.X, CursorPos.Y, CursorPos.X, CursorPos.Y);
|
||||
inherited;
|
||||
if TabIndex >= 0 then
|
||||
begin
|
||||
|
Reference in New Issue
Block a user