Ignore:
Timestamp:
Apr 28, 2022, 10:40:37 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Changed WindowMode numerical constants to enumeration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Wonders.pas

    r426 r431  
    2828  public
    2929    procedure OffscreenPaint; override;
    30     procedure ShowNewContent(NewMode: Integer);
     30    procedure ShowNewContent(NewMode: TWindowMode);
    3131  end;
    3232
     
    8181end;
    8282
    83 procedure TWondersDlg.ShowNewContent(NewMode: Integer);
     83procedure TWondersDlg.ShowNewContent(NewMode: TWindowMode);
    8484begin
    8585  inherited ShowNewContent(NewMode);
     
    351351begin
    352352  if Selection >= 0 then
    353     HelpDlg.ShowNewContent(FWindowMode or wmPersistent, hkImp, Selection);
     353    HelpDlg.ShowNewContent(WindowModePersistent(FWindowMode), hkImp, Selection);
    354354end;
    355355
Note: See TracChangeset for help on using the changeset viewer.