Răsfoiți Sursa

* Made Log call virtual. Fixes issue #40623

Michaël Van Canneyt 1 an în urmă
părinte
comite
9c9497375e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/fcl-base/src/eventlog.pp

+ 1 - 1
packages/fcl-base/src/eventlog.pp

@@ -87,7 +87,7 @@ Type
     Function UnRegisterMessageFile : Boolean; virtual;
     Function UnRegisterMessageFile : Boolean; virtual;
     Procedure Pause;
     Procedure Pause;
     Procedure Resume;
     Procedure Resume;
-    Procedure Log (EventType : TEventType; const Msg : String); {$ifndef fpc }Overload;{$endif}
+    Procedure Log (EventType : TEventType; const Msg : String); virtual; {$ifndef fpc }Overload;{$endif}
     Procedure Log (EventType : TEventType; const Fmt : String; Args : Array of const); {$ifndef fpc }Overload;{$endif}
     Procedure Log (EventType : TEventType; const Fmt : String; Args : Array of const); {$ifndef fpc }Overload;{$endif}
     Procedure Log (const Msg : String); {$ifndef fpc }Overload;{$endif}
     Procedure Log (const Msg : String); {$ifndef fpc }Overload;{$endif}
     Procedure Log (const Fmt : String; Args : Array of const); {$ifndef fpc }Overload;{$endif}
     Procedure Log (const Fmt : String; Args : Array of const); {$ifndef fpc }Overload;{$endif}