From 4ab1b58324fbd7ee9239c53befcb4d663d21c325 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 13 Apr 2011 19:32:12 +0000 Subject: [PATCH] 2011-04-13 21:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/xbpparthandler.prg ! fixed to not use != operator on strings --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbxbp/xbpparthandler.prg | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ca41dc7b05..162ab02bdd 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-04-13 21:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbxbp/xbpparthandler.prg + ! fixed to not use != operator on strings + 2011-04-13 12:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg ! Fixed: fading inner XbpDialog() while moving the parent ( not owner ). diff --git a/harbour/contrib/hbxbp/xbpparthandler.prg b/harbour/contrib/hbxbp/xbpparthandler.prg index 33a44b73ba..92615f68d4 100644 --- a/harbour/contrib/hbxbp/xbpparthandler.prg +++ b/harbour/contrib/hbxbp/xbpparthandler.prg @@ -318,7 +318,7 @@ METHOD moveOwned( nOffSetX, nOffSetY ) CLASS XbpPartHandler FOR EACH oXbp IN ::_aOwned IF __objHasMsg( oXbp, "MOVEWITHOWNER" ) .AND. oXbp:moveWithOwner - IF oXbp:oParent:className() != "XBPDRAWINGAREA" + IF !( oXbp:oParent:className() == "XBPDRAWINGAREA" ) oPos := oXbp:oWidget:pos() oXbp:oWidget:move( oPos:x() + nOffSetX, oPos:y() + nOffSetY ) ENDIF