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:
juha 2011-06-04 07:03:48 +00:00
parent 5130301c3e
commit 10d948d4b2
2 changed files with 2 additions and 0 deletions

View File

@ -1442,6 +1442,7 @@ begin
// already created in TGtkWSBaseScrollingWinControl
// Replace the ScrollingInfo with our info
WidgetInfo := GetWidgetInfo(ScrollWidget);
WidgetInfo^.DefaultCursor:=0;
OrigScrollingData := WidgetInfo^.UserData;
Widgets^.ScrollingData := OrigScrollingData^;

View File

@ -176,6 +176,7 @@ begin
Result := TLCLIntfHandle(PtrUInt(Widget));
WidgetInfo := CreateWidgetInfo(Widget, AWinControl, AParams);
WidgetInfo^.DefaultCursor:=0;
Set_RC_Name(AWinControl, Widget);
SetCallbacks(Widget, WidgetInfo);
end;