Changeset 431 for trunk/LocalPlayer/Enhance.pas
- Timestamp:
- Apr 28, 2022, 10:40:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Enhance.pas
r350 r431 39 39 NoMap: TIsoMap; 40 40 public 41 procedure ShowNewContent(NewMode: integer; TerrType: integer = -1);41 procedure ShowNewContent(NewMode: TWindowMode; TerrType: integer = -1); 42 42 protected 43 43 Page: integer; … … 117 117 end; 118 118 119 procedure TEnhanceDlg.ShowNewContent(NewMode ,TerrType: integer);119 procedure TEnhanceDlg.ShowNewContent(NewMode: TWindowMode; TerrType: integer); 120 120 begin 121 121 if (TerrType < fGrass) or (TerrType > fMountains) then … … 384 384 ShortCut := KeyToShortCut(Key, Shift); 385 385 if BHelp.Test(ShortCut) then 386 HelpDlg.ShowNewContent( FWindowMode or wmPersistent, hkText,386 HelpDlg.ShowNewContent(WindowModePersistent(FWindowMode), hkText, 387 387 HelpDlg.TextIndex('MACRO')) 388 388 end;
Note:
See TracChangeset
for help on using the changeset viewer.