mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 06:20:22 +02:00
gtk: call RecreateWnd in TGrkWsCustomForm.SetFormBorderStyle since default implementation is empty. Now runtime BorderStyle change in gtk perform change.
git-svn-id: trunk@12455 -
This commit is contained in:
parent
965569b5e8
commit
99436e3732
@ -322,11 +322,7 @@ begin
|
||||
if not WSCheckHandleAllocated(AForm, 'SetFormBorderStyle')
|
||||
then Exit;
|
||||
|
||||
inherited SetFormBorderStyle(AForm, AFormBorderStyle);
|
||||
// the form border style can only be set at creation time.
|
||||
// This is Delphi compatible, so no Recreatewnd needed.
|
||||
{$note check if this implies that the lcl recreates the handle here}
|
||||
// otherwise the lcl recreatewnd call should be removed and placed here.
|
||||
RecreateWnd(AForm);
|
||||
end;
|
||||
|
||||
class procedure TGtkWSCustomForm.SetIcon(const AForm: TCustomForm; const AIcon: HICON);
|
||||
|
Loading…
Reference in New Issue
Block a user