From 63f3dcc4ed0d67a278554771778809f9e3f49757 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Wed, 15 Sep 2010 22:55:40 +0000 Subject: [PATCH] 2010-09-15 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp.ch + Added XBP_*_GROUP constants. * contrib/hbxbp/xbpwindow.prg ! :group instance variable now returns XBP_NO_GROUP instead of 0. --- harbour/ChangeLog | 7 +++++++ harbour/contrib/hbxbp/xbp.ch | 7 +++++++ harbour/contrib/hbxbp/xbpwindow.prg | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e21478f0b5..837761457c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2010-09-15 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbxbp/xbp.ch + + Added XBP_*_GROUP constants. + + * contrib/hbxbp/xbpwindow.prg + ! :group instance variable now returns XBP_NO_GROUP instead of 0. + 2010-09-15 14:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbmk2_plugin.hbs diff --git a/harbour/contrib/hbxbp/xbp.ch b/harbour/contrib/hbxbp/xbp.ch index 9053b74f0f..57a46ccd60 100644 --- a/harbour/contrib/hbxbp/xbp.ch +++ b/harbour/contrib/hbxbp/xbp.ch @@ -478,5 +478,12 @@ /*----------------------------------------------------------------------*/ +#define XBP_BEGIN_GROUP 1 +#define XBP_WITHIN_GROUP 2 +#define XBP_END_GROUP 3 +#define XBP_NO_GROUP 4 + +/*----------------------------------------------------------------------*/ + #define _XBP_CH #endif diff --git a/harbour/contrib/hbxbp/xbpwindow.prg b/harbour/contrib/hbxbp/xbpwindow.prg index 9a95a9302c..8f0f6c4a52 100644 --- a/harbour/contrib/hbxbp/xbpwindow.prg +++ b/harbour/contrib/hbxbp/xbpwindow.prg @@ -87,7 +87,7 @@ CLASS XbpWindow INHERIT XbpPartHandler DATA clipChildren INIT .F. DATA clipParent INIT .F. DATA clipSiblings INIT .T. - DATA group INIT 0 /* XBP_NO_GROUP */ + DATA group INIT XBP_NO_GROUP DATA sizeRedraw INIT .F. DATA tabStop INIT .F. DATA visible INIT .T.