mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 17:29:07 +02:00
Merged revision(s) 53736 #db0a509d69 from trunk:
win32: group box: invalidate after caption change. Issue #25868 ........ git-svn-id: branches/fixes_1_6@53789 -
This commit is contained in:
parent
6c969695c5
commit
fe536bad5f
@ -50,6 +50,7 @@ type
|
||||
|
||||
TWin32WSCustomGroupBox = class(TWSCustomGroupBox)
|
||||
published
|
||||
class procedure SetText(const AWinControl: TWinControl; const AText: string); override;
|
||||
class function CreateHandle(const AWinControl: TWinControl;
|
||||
const AParams: TCreateParams): HWND; override;
|
||||
class procedure SetBiDiMode(const AWinControl: TWinControl; UseRightToLeftAlign,
|
||||
@ -565,6 +566,14 @@ begin
|
||||
RecreateWnd(AWinControl);
|
||||
end;
|
||||
|
||||
class procedure TWin32WSCustomGroupBox.SetText(const AWinControl: TWinControl;
|
||||
const AText: string);
|
||||
begin
|
||||
if not WSCheckHandleAllocated(AWinControl, 'SetText') then Exit;
|
||||
TWin32WSWinControl.SetText(AWinControl, AText);
|
||||
AWinControl.Invalidate;
|
||||
end;
|
||||
|
||||
class procedure TWin32WSCustomGroupBox.GetPreferredSize(
|
||||
const AWinControl: TWinControl; var PreferredWidth, PreferredHeight: integer;
|
||||
WithThemeSpace: Boolean);
|
||||
|
Loading…
Reference in New Issue
Block a user