diff options
Diffstat (limited to 'examples/gfx/subwindow/subwindow.pas')
-rw-r--r-- | examples/gfx/subwindow/subwindow.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gfx/subwindow/subwindow.pas b/examples/gfx/subwindow/subwindow.pas index 79547e9c..d7d46640 100644 --- a/examples/gfx/subwindow/subwindow.pas +++ b/examples/gfx/subwindow/subwindow.pas @@ -47,7 +47,7 @@ type constructor TBoxWindow.Create(AParent: TFCustomWindow); begin - inherited Create(AParent, []); + inherited Create(AParent, [woChildWindow]); OnMouseReleased := @MouseReleased; OnPaint := @Paint; |