lyle:
hi,
i wonder that the constructor of FXOption (descendant of FXLabel) takes
the flag MENUBUTTON_DOWN as default option, must be a copy-paste error.
new(p, text, ic=nil, tgt=nil, sel=0,
opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN, ... )
after a little investigation i come to the conclusion:
it's a bug with no effects due to the fact that MENUBUTTON_DOWN has the
value 0 which is the same as JUSTIFY_NORMAL.
irb(main):003:0> MENUBUTTON_DOWN
=> 0
irb(main):005:0> JUSTIFY_NORMAL
=> 0
ciao,
-- henon
--------------
% cat "food in cans"
cat: can't open food in cans
|