2011-05-07 13:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpmenubar.prg
! Fixed: where XbpMenu() activation was not supplying the documented
parameters when activated, thanks Shum for watching it closely.
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-05-07 13:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpmenubar.prg
|
||||
! Fixed: where XbpMenu() activation was not supplying the documented
|
||||
parameters when activated, thanks Shum for watching it closely.
|
||||
|
||||
2011-05-07 11:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/vm/maindllp/dllpcode.c
|
||||
* readded more win specific macros (msvc didn't like it)
|
||||
|
||||
@@ -505,7 +505,7 @@ METHOD xbpMenuBar:execSlot( cSlot, p )
|
||||
IF ! empty( p ) .AND. ( nIndex := ascan( ::aMenuItems, {|e_| iif( hb_isNumeric( e_[ 2 ] ), e_[ 2 ] == p, .f. ) } ) ) > 0
|
||||
IF cSlot == "triggered(bool)"
|
||||
IF hb_isBlock( ::aMenuItems[ nIndex,4 ] )
|
||||
eval( ::aMenuItems[ nIndex,4 ] )
|
||||
eval( ::aMenuItems[ nIndex,4 ], nIndex, NIL, Self )
|
||||
|
||||
ELSE
|
||||
::itemSelected( nIndex )
|
||||
|
||||
Reference in New Issue
Block a user