lcl: set csCaptureMouse to TCustomLabel - this partly fix issue #0021306

git-svn-id: trunk@35963 -
This commit is contained in:
paul 2012-03-14 01:49:07 +00:00
parent a54c5387fe
commit bd4ff02813

View File

@ -206,7 +206,7 @@ end;
constructor TCustomLabel.Create(TheOwner: TComponent);
begin
inherited Create(TheOwner);
ControlStyle := [csSetCaption, csClickEvents, csDoubleClicks, csReplicatable];
ControlStyle := [csCaptureMouse, csSetCaption, csClickEvents, csDoubleClicks, csReplicatable];
with GetControlClassDefaultSize do
SetInitialBounds(0, 0, CX, CY);
FShowAccelChar := True;