summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-11 10:08:12 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-11 10:14:19 +0200
commit17d24654c1381d0bbb0b27dab11def8c73e47c48 (patch)
tree29b232153c69632792fa1146c68fe9d1d8dae6a9 /src/gui
parent562f3f13c6afd54dc53a098deb73d09d31ed393c (diff)
downloadfpGUI-17d24654c1381d0bbb0b27dab11def8c73e47c48.tar.xz
use a more accurate message name for asking to be freed.
The TfpgBaseForm needs to ask fpgApplication to free it, so we now use a new, and more appropriately named, message constant.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fpg_form.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_form.pas b/src/gui/fpg_form.pas
index 308cd6b5..0361d3fc 100644
--- a/src/gui/fpg_form.pas
+++ b/src/gui/fpg_form.pas
@@ -452,7 +452,7 @@ begin
fpgApplication.Terminate
else
// We can't free ourselves, somebody else needs to do it
- fpgPostMessage(Self, fpgApplication, FPGM_CLOSE);
+ fpgPostMessage(Self, fpgApplication, FPGM_FREEME);
end;
end; { case CloseAction }
end; { if CloseQuery }