LazMapViewer: Activate ControlStyle csAcceptsControls in TMapView (allowing to add any controls to the map viewer). Issue #39090.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-12-29 00:15:28 +00:00
parent 2a66f07424
commit 44cbf67019

View File

@ -27,9 +27,8 @@ interface
uses
Classes, SysUtils, Types, fgl, FPImage,
LazFileUtils, GraphType,
Controls, Graphics, IntfGraphics,
Forms, ImgList, LCLVersion,
LazFileUtils, GraphType, IntfGraphics, Graphics,
Forms, Controls, ImgList, ExtCtrls, LCLVersion,
mvTypes, mvGeoMath, mvGPSObj, mvDragObj, mvCache, mvExtraData,
mvEngine, mvMapProvider, mvDownloadEngine, mvDrawingEngine;
@ -3298,6 +3297,7 @@ var
I: Integer;
begin
inherited Create(AOwner);
ControlStyle := ControlStyle + [csAcceptsControls];
Width := 150;
Height := 150;