summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_base.pas6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas
index daecffa1..b51d0aa7 100644
--- a/src/corelib/fpg_base.pas
+++ b/src/corelib/fpg_base.pas
@@ -32,7 +32,7 @@ type
TfpgColor = type longword; // Always in RRGGBB (Alpha, Red, Green, Blue) format!!
TfpgString = type string;
TfpgChar = type string[4];
- TfpgModalResult = Low(integer)..High(integer);
+ TfpgModalResult = Low(integer)..MaxInt;
PPoint = ^TPoint;
@@ -83,13 +83,15 @@ const
FPGM_MOVE = 16;
FPGM_POPUPCLOSE = 17;
FPGM_HINTTIMER = 18;
+ FPGM_FREEME = 19;
FPGM_USER = 50000;
- FPGM_KILLME = High(Integer);
+ FPGM_KILLME = MaxInt;
// The special keys, based on the well-known keyboard scan codes
{$I keys.inc}
{ TfpgModalResult values }
+ mrError = -1;
mrNone = 0;
mrOk = mrNone + 1;
mrCancel = mrOk + 1;