diff --git a/Examples/GUI/Hello/HelloGUI.dpr b/Examples/GUI/Hello/HelloGUI.dpr index 626bcf6..9d1eec1 100644 --- a/Examples/GUI/Hello/HelloGUI.dpr +++ b/Examples/GUI/Hello/HelloGUI.dpr @@ -28,6 +28,6 @@ begin GetKey; BUTTON_EVENT: if GetButton.ID = 1 then - TerminateThread; + Break; end; end.