mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:00:27 +02:00
LCL: Fix the cursor pointer for SpinEdit buttons and ListView column resize. Patch from August Klein, issues #16542 and #15083
git-svn-id: trunk@31038 -
This commit is contained in:
parent
5130301c3e
commit
10d948d4b2
@ -1442,6 +1442,7 @@ begin
|
|||||||
// already created in TGtkWSBaseScrollingWinControl
|
// already created in TGtkWSBaseScrollingWinControl
|
||||||
// Replace the ScrollingInfo with our info
|
// Replace the ScrollingInfo with our info
|
||||||
WidgetInfo := GetWidgetInfo(ScrollWidget);
|
WidgetInfo := GetWidgetInfo(ScrollWidget);
|
||||||
|
WidgetInfo^.DefaultCursor:=0;
|
||||||
OrigScrollingData := WidgetInfo^.UserData;
|
OrigScrollingData := WidgetInfo^.UserData;
|
||||||
Widgets^.ScrollingData := OrigScrollingData^;
|
Widgets^.ScrollingData := OrigScrollingData^;
|
||||||
|
|
||||||
|
@ -176,6 +176,7 @@ begin
|
|||||||
Result := TLCLIntfHandle(PtrUInt(Widget));
|
Result := TLCLIntfHandle(PtrUInt(Widget));
|
||||||
|
|
||||||
WidgetInfo := CreateWidgetInfo(Widget, AWinControl, AParams);
|
WidgetInfo := CreateWidgetInfo(Widget, AWinControl, AParams);
|
||||||
|
WidgetInfo^.DefaultCursor:=0;
|
||||||
Set_RC_Name(AWinControl, Widget);
|
Set_RC_Name(AWinControl, Widget);
|
||||||
SetCallbacks(Widget, WidgetInfo);
|
SetCallbacks(Widget, WidgetInfo);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user