Browse Source

* Fix some visibility issues in TComponentMediator

Michaël Van Canneyt 1 week ago
parent
commit
fa023c893d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-base/src/fpobserver.pp

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

@@ -151,11 +151,11 @@ Type
   { General-purpose of Mediating views. Can be used on any form/component }
 
   TComponentMediator = Class(TBaseMediator)
+  Private
     FViewComponent : TComponent;
   Protected
     function  GetView : TObject; override;
     procedure SetComponent(const AValue: TComponent);
-  Public
     procedure Notification(AComponent: TComponent;  Operation: TOperation); override;
   Published
     // General component which can be set in Object Inspector