mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
LCL-CustomDrawn: Fixes the TMemo handle
git-svn-id: trunk@36933 -
This commit is contained in:
parent
2ec49d156c
commit
ffef0d3645
@ -397,8 +397,18 @@ begin
|
||||
end;
|
||||
|
||||
class procedure TCDWSCustomMemo.ShowHide(const AWinControl: TWinControl);
|
||||
var
|
||||
lCDWinControl: TCDWinControl;
|
||||
begin
|
||||
inherited ShowHide(AWinControl);
|
||||
lCDWinControl := TCDWinControl(AWinControl.Handle);
|
||||
|
||||
TCDWSWinControl.ShowHide(AWinControl);
|
||||
|
||||
if not lCDWinControl.CDControlInjected then
|
||||
begin
|
||||
InjectCDControl(AWinControl, lCDWinControl.CDControl);
|
||||
lCDWinControl.CDControlInjected := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
{ TCDWSScrollBar }
|
||||
|
Loading…
Reference in New Issue
Block a user