mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:19:22 +02:00
rx component: fixed compilation on 64 bits cpu
git-svn-id: trunk@14778 -
This commit is contained in:
parent
ef62bac367
commit
908e051af0
@ -271,7 +271,7 @@ end;
|
|||||||
|
|
||||||
procedure TMRUManager.Add(const RecentName: string; UserData: Longint);
|
procedure TMRUManager.Add(const RecentName: string; UserData: Longint);
|
||||||
begin
|
begin
|
||||||
FList.AddObject(RecentName, TObject(UserData));
|
FList.AddObject(RecentName, TObject(PtrInt(UserData)));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMRUManager.Clear;
|
procedure TMRUManager.Clear;
|
||||||
@ -359,7 +359,7 @@ begin
|
|||||||
AddMenuItem(NewLine);
|
AddMenuItem(NewLine);
|
||||||
S := FList[I];
|
S := FList[I];
|
||||||
ShortCut := scNone;
|
ShortCut := scNone;
|
||||||
GetItemData(S, ShortCut, Longint(FList.Objects[I]));
|
GetItemData(S, ShortCut, Longint(PtrInt(FList.Objects[I])));
|
||||||
Item := NewItem(GetShortHint(S), ShortCut, False, True,
|
Item := NewItem(GetShortHint(S), ShortCut, False, True,
|
||||||
@MenuItemClick, 0, '');
|
@MenuItemClick, 0, '');
|
||||||
Item.Hint := GetLongHint(S);
|
Item.Hint := GetLongHint(S);
|
||||||
@ -495,7 +495,7 @@ var
|
|||||||
begin
|
begin
|
||||||
Ini.EraseSection(Section);
|
Ini.EraseSection(Section);
|
||||||
for I := 0 to FList.Count - 1 do
|
for I := 0 to FList.Count - 1 do
|
||||||
DoWriteItem(Ini, Section, I, FList[I], Longint(FList.Objects[I]));
|
DoWriteItem(Ini, Section, I, FList[I], Longint(PtrInt(FList.Objects[I])));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMRUManager.LoadFromIni(Ini: TCustomIniFile; const Section: string);
|
procedure TMRUManager.LoadFromIni(Ini: TCustomIniFile; const Section: string);
|
||||||
|
Loading…
Reference in New Issue
Block a user