diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-11 10:08:12 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-11 10:14:19 +0200 |
commit | 17d24654c1381d0bbb0b27dab11def8c73e47c48 (patch) | |
tree | 29b232153c69632792fa1146c68fe9d1d8dae6a9 /src/gui | |
parent | 562f3f13c6afd54dc53a098deb73d09d31ed393c (diff) | |
download | fpGUI-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.pas | 2 |
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 } |