mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 13:39:18 +02:00
LCL: Publish OnPaint for TSplitter. Issue #28769, patch from Alexey Torgashin.
git-svn-id: trunk@49919 -
This commit is contained in:
parent
1b50c565c2
commit
a171f6e322
@ -410,6 +410,7 @@ type
|
||||
property OnMouseWheel;
|
||||
property OnMouseWheelDown;
|
||||
property OnMouseWheelUp;
|
||||
property OnPaint;
|
||||
property ParentColor;
|
||||
property ParentShowHint;
|
||||
property PopupMenu;
|
||||
|
@ -895,7 +895,8 @@ procedure TCustomSplitter.Paint;
|
||||
begin
|
||||
inherited Paint;
|
||||
|
||||
DrawThemedPattern(ClientRect)
|
||||
if not Assigned(OnPaint) then
|
||||
DrawThemedPattern(ClientRect);
|
||||
end;
|
||||
|
||||
procedure TCustomSplitter.MouseEnter;
|
||||
|
Loading…
Reference in New Issue
Block a user