From 976015c3311a493321657ed9308a3c444c36fa0a Mon Sep 17 00:00:00 2001 From: zeljko Date: Fri, 24 Jan 2020 08:58:24 +0000 Subject: [PATCH] Qt,Qt5: qt allows child controls in TEdit or similar controls. part of issue #36513 git-svn-id: trunk@62583 - --- lcl/interfaces/qt/qtobject.inc | 1 + lcl/interfaces/qt5/qtobject.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/lcl/interfaces/qt/qtobject.inc b/lcl/interfaces/qt/qtobject.inc index 89837c7879..e9d6948b03 100644 --- a/lcl/interfaces/qt/qtobject.inc +++ b/lcl/interfaces/qt/qtobject.inc @@ -1307,6 +1307,7 @@ begin lcRadialGradientBrush: Result := LCL_CAPABILITY_YES; lcTransparentWindow: Result := LCL_CAPABILITY_YES; lcNativeTaskDialog: Result := {$ifdef MSWINDOWS} LCL_CAPABILITY_NO {$else} LCL_CAPABILITY_YES {$endif}; + lcAllowChildControlsInNativeControls: Result := LCL_CAPABILITY_YES; else Result := inherited GetLCLCapability(ACapability); end; diff --git a/lcl/interfaces/qt5/qtobject.inc b/lcl/interfaces/qt5/qtobject.inc index 450fc0070f..178b500ea0 100644 --- a/lcl/interfaces/qt5/qtobject.inc +++ b/lcl/interfaces/qt5/qtobject.inc @@ -1237,6 +1237,7 @@ begin lcTransparentWindow: Result := LCL_CAPABILITY_YES; lcTextHint: Result := LCL_CAPABILITY_YES; lcNativeTaskDialog: Result := {$ifdef MSWINDOWS} LCL_CAPABILITY_NO {$else} LCL_CAPABILITY_YES {$endif}; + lcAllowChildControlsInNativeControls: Result := LCL_CAPABILITY_YES; else Result := inherited GetLCLCapability(ACapability); end;