diff options
-rw-r--r-- | prototypes/fpgui2/tests/themetest.lpr | 2 | ||||
-rw-r--r-- | src/corelib/gfxbase.pas | 2 |
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} |