summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-04-07 07:35:06 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-04-07 07:35:06 +0000
commit70f99df9962bd08c9982e0c2bed68d4314ca3e61 (patch)
treed56675ff79ee51f0d61a0a8005cfa0349e45f428
parent926d83023264ed683f88b933e690708d63675aef (diff)
downloadfpGUI-70f99df9962bd08c9982e0c2bed68d4314ca3e61.tar.xz
no comment
-rw-r--r--prototypes/fpgui2/tests/themetest.lpr2
-rw-r--r--src/corelib/gfxbase.pas2
2 files changed, 3 insertions, 1 deletions
diff --git a/prototypes/fpgui2/tests/themetest.lpr b/prototypes/fpgui2/tests/themetest.lpr
index 33e0b64f..308c0064 100644
--- a/prototypes/fpgui2/tests/themetest.lpr
+++ b/prototypes/fpgui2/tests/themetest.lpr
@@ -61,6 +61,8 @@ type
// 3 - disabled
// 4 - got focus or default
image: TfpgImage;
+ FStartBtnPressed: Boolean;
+ FEndBtnPressed: Boolean;
procedure SetThemeImage(const AValue: TfpgImage);
protected
procedure HandlePaint; override;
diff --git a/src/corelib/gfxbase.pas b/src/corelib/gfxbase.pas
index 7bf743a3..0054f9c1 100644
--- a/src/corelib/gfxbase.pas
+++ b/src/corelib/gfxbase.pas
@@ -76,7 +76,7 @@ const
FPGM_RESIZE = 15;
FPGM_MOVE = 16;
FPGM_POPUPCLOSE = 17;
- FPGM_KILLME = 9999;
+ FPGM_KILLME = High(Integer);
// The special keys, based on the well-known keyboard scan codes
{$I keys.inc}