diff --git a/components/lazmapviewer/source/mvmapviewer.pas b/components/lazmapviewer/source/mvmapviewer.pas index 581192e8e..7f55072ef 100644 --- a/components/lazmapviewer/source/mvmapviewer.pas +++ b/components/lazmapviewer/source/mvmapviewer.pas @@ -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;